Mercurial > dovecot > core-2.2
changeset 22538:0819f28fc76b
director: Remember backends' hostnames and send them in login reply.
This allows login processes to verify the remote server's hostname in SSL
certificate.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 19 Oct 2015 13:49:54 +0300 |
parents | 4e3e963c32f0 |
children | 3bae5694a7a5 |
files | src/director/mail-host.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/director/mail-host.h Fri Aug 18 11:51:36 2017 +0300 +++ b/src/director/mail-host.h Mon Oct 19 13:49:54 2015 +0300 @@ -48,6 +48,9 @@ mail_host_add_hostname(struct mail_host_list *list, const char *hostname, const struct ip_addr *ip, const char *tag_name); struct mail_host * +mail_host_add_hostname(struct mail_host_list *list, const char *hostname, + const struct ip_addr *ip, const char *tag); +struct mail_host * mail_host_lookup(struct mail_host_list *list, const struct ip_addr *ip); struct mail_host * mail_host_get_by_hash(struct mail_host_list *list, unsigned int hash,