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