Testsuite: explicitly disable TFO in transports
[exim.git] / test / confs / 0375
CommitLineData
afda344b
PH
1# Exim test configuration 0375
2
d4dc049f
JH
3.include DIR/aux-var/std_conf_prefix
4
afda344b 5primary_hostname = myhost.test.ex
afda344b
PH
6
7# ----- Main settings -----
8
9domainlist local_domains = test.ex : *.test.ex
10log_selector = +return_path_on_delivery
11remote_max_parallel = 1
12
13
14# ----- Routers -----
15
16begin routers
17
18u1:
19 driver = accept
20 local_parts = ^a\\d
21 transport = ut1
22 errors_to =
23 unseen
24
25ut2:
26 driver = accept
27 local_parts = ^b\\d
28 transport = ut2
29 errors_to = ""
30 unseen
31
32ut3:
33 driver = accept
34 local_parts = ^c\\d
35 transport = ut3
36 errors_to =
37 unseen
38
39ut4:
40 driver = accept
41 local_parts = ^d\\d
42 transport = ut4
43 errors_to =
44 unseen
45
46ut5:
47 driver = accept
48 local_parts = ^e\\d
49 transport = ut5
50 unseen
51
52ut6:
53 driver = accept
54 local_parts = ^f\\d
55 address_data = $sender_address
56 transport = ut6
57 errors_to =
58 unseen
59
60ut7:
61 driver = accept
62 local_parts = ^g\\d
63 address_data = $bad expansion
64 transport = ut6
65 errors_to =
66 unseen
67 disable_logging
68
69ut8:
70 driver = accept
71 local_parts = ^h\\d
72 transport = ut1
73 errors_to = ${if eq{0}{1}{x@y}fail}
74 unseen
75
76real:
77 driver = accept
78 transport = real
79
80
81# ----- Transports -----
82
83begin transports
84
85# Successful local transport
86ut1:
87 driver = appendfile
88 file = DIR/test-mail/$local_part-u
89 user = CALLER
90 return_path_add
91 envelope_to_add
92 disable_logging
93
94# Hard unsuccessful local transport
95
96ut2:
97 driver = pipe
98 command = /non/existent/file
99 user = CALLER
100 disable_logging
101
102# Soft unsuccessful local transport
103
104ut3:
105 driver = pipe
106 command = /non/existent/file
107 temp_errors = *
108 user = CALLER
109 disable_logging
110
111# Remote transport - all types
112
113ut4:
114 driver = smtp
115 hosts = 127.0.0.1
116 port = PORT_S
277b9979 117 hosts_try_fastopen = :
afda344b
PH
118 allow_localhost
119 max_rcpt = 1
120 disable_logging
121
122# Another remote transport with return_path set empty
123
124ut5:
125 driver = smtp
126 hosts = 127.0.0.1
127 port = PORT_S
277b9979 128 hosts_try_fastopen = :
afda344b
PH
129 allow_localhost
130 max_rcpt = 1
131 disable_logging
132 return_path =
133
134# Another remote transport with return_path reinstating original
135
136ut6:
137 driver = smtp
138 hosts = 127.0.0.1
139 port = PORT_S
277b9979 140 hosts_try_fastopen = :
afda344b
PH
141 allow_localhost
142 max_rcpt = 1
143 disable_logging
144 return_path = $address_data
145
146# Real delivery
147real:
148 driver = appendfile
149 file = DIR/test-mail/$local_part
150 user = CALLER
151 return_path_add
152 envelope_to_add
153
154
155# ----- Retry -----
156
157
158begin retry
159
160* * F,5d,1d
161
162
163# End