Import Debian changes 4.89-2+deb9u4
[hcoop/debian/exim4.git] / debian / debconf / conf.d / transport / 30_exim4-config_remote_smtp_smarthost
CommitLineData
de45f55a
AM
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.
0baa7b9d
SB
8# Refuse to send any messsage with over-long lines, which could have
9# been received other than via SMTP. The use of message_size_limit to
10# enforce this is a red herring.
de45f55a
AM
11
12remote_smtp_smarthost:
13 debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
14 driver = smtp
0baa7b9d
SB
15.ifndef IGNORE_SMTP_LINE_LENGTH_LIMIT
16 message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}}
17.endif
de45f55a
AM
18 hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \
19 {\
20 ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\
21 }\
22 {} \
23 }
24.ifdef REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
25 hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
26.endif
0baa7b9d
SB
27.ifdef REMOTE_SMTP_SMARTHOST_HOSTS_REQUIRE_TLS
28 hosts_require_tls = REMOTE_SMTP_SMARTHOST_HOSTS_REQUIRE_TLS
29.endif
de45f55a
AM
30.ifdef REMOTE_SMTP_HEADERS_REWRITE
31 headers_rewrite = REMOTE_SMTP_HEADERS_REWRITE
32.endif
33.ifdef REMOTE_SMTP_RETURN_PATH
34 return_path = REMOTE_SMTP_RETURN_PATH
35.endif
36.ifdef REMOTE_SMTP_HELO_DATA
37 helo_data=REMOTE_SMTP_HELO_DATA
38.endif
39.ifdef TLS_DH_MIN_BITS
40tls_dh_min_bits = TLS_DH_MIN_BITS
41.endif
42.ifdef REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
43tls_certificate = REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
44.endif
45.ifdef REMOTE_SMTP_SMARTHOST_PRIVATEKEY
46tls_privatekey = REMOTE_SMTP_SMARTHOST_PRIVATEKEY
47.endif