diff options
author | Todd Lyons <tlyons@exim.org> | 2014-03-24 11:24:23 -0700 |
---|---|---|
committer | Todd Lyons <tlyons@exim.org> | 2014-07-29 05:56:50 -0700 |
commit | 96e47838f9aaea7f89685163bcb01164f4444378 (patch) | |
tree | d6afdb6c499163821737768201e4ecd80e06579c /src | |
parent | e682570f275e60cf75f013c234a0561a451ab559 (diff) |
Create a hosts_try_dane transport option, does nothing yet
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/smtp.c | 7 | ||||
-rw-r--r-- | src/src/transports/smtp.h | 3 |
2 files changed, 10 insertions, 0 deletions
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 |