diff options
-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 |