exim: Add initial configuration.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / transport / 30_exim4-config_remote_smtp_smarthost
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.
7 # This transport is used for smarthost and satellite configurations.
8
9 remote_smtp_smarthost:
10   debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
11   driver = smtp
12   hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \
13         {\
14         ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\
15         }\
16         {} \
17       }
18 .ifdef REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
19   hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
20 .endif
21 .ifdef REMOTE_SMTP_HEADERS_REWRITE
22   headers_rewrite = REMOTE_SMTP_HEADERS_REWRITE
23 .endif
24 .ifdef REMOTE_SMTP_RETURN_PATH
25   return_path = REMOTE_SMTP_RETURN_PATH
26 .endif
27 .ifdef REMOTE_SMTP_HELO_FROM_DNS
28   helo_data=REMOTE_SMTP_HELO_DATA
29 .endif