Create a hosts_try_dane transport option, does nothing yet
authorTodd Lyons <tlyons@exim.org>
Mon, 24 Mar 2014 18:24:23 +0000 (11:24 -0700)
committerTodd Lyons <tlyons@exim.org>
Tue, 29 Jul 2014 12:56:50 +0000 (05:56 -0700)
src/src/transports/smtp.c
src/src/transports/smtp.h

index 40eebe8b68c9bad080dff10f6e54322dfb12cd67..2e3a6ced40849ddfa5cd44ff016708d266ee2b21 100644 (file)
@@ -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
index dd41e1f15b65afc969075363f3a6ba49b78cba8c..018f9cfef8befd932ea8000cee854f5cf454351d 100644 (file)
@@ -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