Imported Debian patch 4.84-8
[hcoop/debian/exim4.git] / debian / debconf / 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_DATA
28 helo_data=REMOTE_SMTP_HELO_DATA
29 .endif
30 .ifdef TLS_DH_MIN_BITS
31 tls_dh_min_bits = TLS_DH_MIN_BITS
32 .endif
33 .ifdef REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
34 tls_certificate = REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
35 .endif
36 .ifdef REMOTE_SMTP_SMARTHOST_PRIVATEKEY
37 tls_privatekey = REMOTE_SMTP_SMARTHOST_PRIVATEKEY
38 .endif