mwolson: Upgrade exim4 packages to equivalent of version in debian testing
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / transport / 30_exim4-config_remote_smtp_smarthost
index d7e1273..0dcb19a 100644 (file)
 remote_smtp_smarthost:
   debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
   driver = smtp
-  hosts_try_auth = ${if exists {CONFDIR/passwd.client}{DCsmarthost}{}}
+  hosts_try_auth = ${if exists {CONFDIR/passwd.client}\
+                               {${extract{1}{:}{DCsmarthost}}}\
+                              {}\
+                   }
   tls_tempfail_tryclear = false
+  # to disable TLS on outgoing connections, uncomment this
+  # hosts_avoid_tls = *
   DEBCONFheaders_rewriteDEBCONF
   DEBCONFreturn_pathDEBCONF