From: Todd Lyons Date: Mon, 24 Mar 2014 18:24:23 +0000 (-0700) Subject: Create a hosts_try_dane transport option, does nothing yet X-Git-Tag: exim-4_85_RC1~67^2~39 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/96e47838f9aaea7f89685163bcb01164f4444378 Create a hosts_try_dane transport option, does nothing yet --- diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index 40eebe8b6..2e3a6ced4 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -118,6 +118,10 @@ optionlist smtp_transport_options[] = { #endif { "hosts_try_auth", opt_stringptr, (void *)offsetof(smtp_transport_options_block, hosts_try_auth) }, +#ifdef EXPERIMENTAL_DANE + { "hosts_try_dane", opt_stringptr, + (void *)offsetof(smtp_transport_options_block, hosts_try_dane) }, +#endif #ifndef DISABLE_PRDR { "hosts_try_prdr", opt_stringptr, (void *)offsetof(smtp_transport_options_block, hosts_try_prdr) }, @@ -200,6 +204,9 @@ smtp_transport_options_block smtp_transport_option_defaults = { NULL, /* serialize_hosts */ NULL, /* hosts_try_auth */ NULL, /* hosts_require_auth */ +#ifdef EXPERIMENTAL_DANE + NULL, /* hosts_try_dane */ +#endif #ifndef DISABLE_PRDR NULL, /* hosts_try_prdr */ #endif diff --git a/src/src/transports/smtp.h b/src/src/transports/smtp.h index dd41e1f15..018f9cfef 100644 --- a/src/src/transports/smtp.h +++ b/src/src/transports/smtp.h @@ -21,6 +21,9 @@ typedef struct { uschar *serialize_hosts; uschar *hosts_try_auth; uschar *hosts_require_auth; +#ifdef EXPERIMENTAL_DANE + uschar *hosts_try_dane; +#endif #ifndef DISABLE_PRDR uschar *hosts_try_prdr; #endif