remote_smtp_smarthost:
debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
driver = smtp
- hosts_try_auth = ${if exists {CONFDIR/passwd.client}\
- {${extract{1}{:}{DCsmarthost}}}\
- {}\
- }
- tls_tempfail_tryclear = false
+ hosts_try_auth = ${if exists{CONFDIR/passwd.client} \
+ {\
+ ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\
+ }\
+ {} \
+ }
# to disable TLS on outgoing connections, uncomment this
# hosts_avoid_tls = *
DEBCONFheaders_rewriteDEBCONF