Testsuite: avoid using STARTTLS in a non-TLS testcase
[exim.git] / test / confs / 4620
CommitLineData
7ef88aa0
JH
1# Exim test configuration 4620
2
3.include DIR/aux-var/std_conf_prefix
4
5SRS_SECRET = mysecret
6
7# ----- Main settings -----
8
9acl_smtp_rcpt = accept
10
11domainlist local_domains = test.ex
12domainlist remotesite_domains = remote.ex
13
14log_selector = +all_parents +received_recipients
15queue_only
16
17# ----- Routers -----
18
19begin routers
20
21remote_bouncer:
22 driver = redirect
23 condition = ${if eq {$sender_host_address}{127.0.0.1}}
24 data = :fail: account disabled
25 allow_fail
26
27external:
28 driver = manualroute
29 domains = !+local_domains
30 route_list = remote.ex 127.0.0.1::PORT_S
31 self = send
32 transport = ${if eq {$local_part@$domain} {$original_local_part@$original_domain} \
33 {to_external} {forwarded_external}}
34
35inbound_srs:
36 driver = redirect
37 senders = :
38 domains = +local_domains
39 # detect inbound bounces which are SRS'd, and decode them
40 condition = ${if inbound_srs {$local_part} {SRS_SECRET}}
41 data = $srs_recipient
42
43inbound_srs_failure:
44 driver = redirect
45 senders = :
46 domains = +local_domains
47 # detect inbound bounces which look SRS'd but are invalid
48 condition = ${if inbound_srs {$local_part} {}}
49 allow_fail
50 data = :fail: Invalid SRS recipient address
51
52
53local_redirect:
54 driver = redirect
55 local_parts = redirect
56 data = remote_user@remote.ex
57
58local:
59 driver = accept
60 transport = appendfile
61
62
63# ----- Transports -----
64
65begin transports
66
67to_external:
68 driver = smtp
69
70forwarded_external:
71 driver = smtp
72 max_rcpt = 1
73 return_path = ${srs_encode {SRS_SECRET} {$return_path} {$original_domain}}
74
75
76appendfile:
77 driver = appendfile
78 file = DIR/test-mail/$local_part
79 user = CALLER
80
81# ----- Retry -----
82
83begin retry
84
85* * F,5d,1d
86
87# End