Bugzilla #722
[exim.git] / test / confs / 0284
1 # Exim test configuration 0284
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 qualify_domain = test.ex
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 all:
22   driver = accept
23   address_data = ${if match{$local_part}{^(.)}{$1}}
24   transport = ${if match{$local_part}{^.*-(.*)\$}{$1}fail}
25
26
27 # ----- Transports -----
28
29 begin transports
30
31 t1:
32   driver = appendfile
33   batch_max = 100
34   file = DIR/test-mail/batched
35   envelope_to_add
36   user = CALLER
37
38 t2:
39   driver = appendfile
40   batch_max = 100
41   file = DIR/test-mail/$local_part
42   envelope_to_add
43   user = CALLER
44
45 t3:
46   driver = appendfile
47   batch_max = 100
48   file = DIR/test-mail/$domain
49   envelope_to_add
50   user = CALLER
51
52 t4:
53   driver = appendfile
54   batch_max = 100
55   batch_id = $address_data
56   file = DIR/test-mail/batched
57   envelope_to_add
58   user = CALLER
59
60 # ----- Retry -----
61
62 begin retry
63
64 * * F,1d,1d
65
66 # End