Give error if overflow in quota setting in appendfile on a 32-bit
[exim.git] / test / confs / 0375
1 # Exim test configuration 0375
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex : *.test.ex
15 log_selector = +return_path_on_delivery
16 remote_max_parallel = 1
17
18
19 # ----- Routers -----
20
21 begin routers
22
23 u1:
24   driver = accept
25   local_parts = ^a\\d
26   transport = ut1
27   errors_to =
28   unseen
29
30 ut2:
31   driver = accept
32   local_parts = ^b\\d
33   transport = ut2
34   errors_to = ""
35   unseen
36
37 ut3:
38   driver = accept
39   local_parts = ^c\\d
40   transport = ut3
41   errors_to =
42   unseen
43
44 ut4:
45   driver = accept
46   local_parts = ^d\\d
47   transport = ut4
48   errors_to =
49   unseen
50
51 ut5:
52   driver = accept
53   local_parts = ^e\\d
54   transport = ut5
55   unseen
56
57 ut6:
58   driver = accept
59   local_parts = ^f\\d
60   address_data = $sender_address
61   transport = ut6
62   errors_to =
63   unseen
64
65 ut7:
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
74 ut8:
75   driver = accept
76   local_parts = ^h\\d
77   transport = ut1
78   errors_to = ${if eq{0}{1}{x@y}fail}
79   unseen
80
81 real:
82   driver = accept
83   transport = real
84
85
86 # ----- Transports -----
87
88 begin transports
89
90 # Successful local transport
91 ut1:
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
101 ut2:
102   driver = pipe
103   command = /non/existent/file
104   user = CALLER
105   disable_logging
106
107 # Soft unsuccessful local transport
108
109 ut3:
110   driver = pipe
111   command = /non/existent/file
112   temp_errors = *
113   user = CALLER
114   disable_logging
115
116 # Remote transport - all types
117
118 ut4:
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
128 ut5:
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
139 ut6:
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
149 real:
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
160 begin retry
161
162 * * F,5d,1d
163
164
165 # End