| 1 | |
| 2 | ### transport/30_exim4-config_remote_smtp_smarthost |
| 3 | ################################# |
| 4 | |
| 5 | # This transport is used for delivering messages over SMTP connections |
| 6 | # to a smarthost. The local host tries to authenticate and does some |
| 7 | # modification in headers and return-path. |
| 8 | # This transport is used for smarthost and satellite configurations. |
| 9 | |
| 10 | remote_smtp_smarthost: |
| 11 | debug_print = "T: remote_smtp_smarthost for $local_part@$domain" |
| 12 | driver = smtp |
| 13 | hosts_try_auth = ${if exists{CONFDIR/passwd.client} \ |
| 14 | {\ |
| 15 | ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\ |
| 16 | }\ |
| 17 | {} \ |
| 18 | } |
| 19 | # to disable TLS on outgoing connections, uncomment this |
| 20 | # hosts_avoid_tls = * |
| 21 | DEBCONFheaders_rewriteDEBCONF |
| 22 | DEBCONFreturn_pathDEBCONF |