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