Import Debian changes 4.92-8+deb10u3
[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
01e60269 15 multi_domain
0baa7b9d
SB
16.ifndef IGNORE_SMTP_LINE_LENGTH_LIMIT
17 message_size_limit = ${if > {$max_received_linelength}{998} {1}{0}}
18.endif
de45f55a
AM
19 hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \
20 {\
21 ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\
22 }\
23 {} \
24 }
25.ifdef REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
26 hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
27.endif
0baa7b9d
SB
28.ifdef REMOTE_SMTP_SMARTHOST_HOSTS_REQUIRE_TLS
29 hosts_require_tls = REMOTE_SMTP_SMARTHOST_HOSTS_REQUIRE_TLS
30.endif
de45f55a
AM
31.ifdef REMOTE_SMTP_HEADERS_REWRITE
32 headers_rewrite = REMOTE_SMTP_HEADERS_REWRITE
33.endif
34.ifdef REMOTE_SMTP_RETURN_PATH
35 return_path = REMOTE_SMTP_RETURN_PATH
36.endif
37.ifdef REMOTE_SMTP_HELO_DATA
38 helo_data=REMOTE_SMTP_HELO_DATA
39.endif
40.ifdef TLS_DH_MIN_BITS
41tls_dh_min_bits = TLS_DH_MIN_BITS
42.endif
43.ifdef REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
44tls_certificate = REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
45.endif
46.ifdef REMOTE_SMTP_SMARTHOST_PRIVATEKEY
47tls_privatekey = REMOTE_SMTP_SMARTHOST_PRIVATEKEY
48.endif