Merge branch 'master'
[users/jgh/exim.git] / test / confs / 0377
1 # Exim test configuration 0377
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
16
17
18 # ----- Routers -----
19
20 begin routers
21
22 defer:
23   driver = redirect
24   local_parts = ^defer
25   allow_defer
26   data = :defer: forced defer
27
28 unseen_aaaa:
29   driver = redirect
30   local_parts = aaaa
31   condition = ${if first_delivery{yes}{no}}
32   data = defer_aaaa@$domain
33   unseen
34
35 seen_aaaa:
36   driver = accept
37   local_parts = aaaa
38   transport = t1
39
40 bbbb:
41   driver = redirect
42   local_parts = bbbb
43   condition = ${if first_delivery{yes}{no}}
44   data = bbbb@$domain, defer_bbbb@$domain
45
46 bbbb_0:
47   driver = accept
48   local_parts = bbbb
49   transport = t1
50
51 cccc_2nd_time:
52   driver = redirect
53   local_parts = cccc
54   condition = ${if first_delivery{no}{yes}}
55   data = $local_part@$domain
56
57 cccc_redirect:
58   driver = redirect
59   local_parts = cccc
60   data = cccc@$domain, defer_cccc@$domain
61
62 cccc_accept:
63   driver = accept
64   local_parts = cccc
65   transport = t1
66
67
68 # ----- Transports -----
69
70 begin transports
71
72 t1:
73   driver = appendfile
74   file = DIR/test-mail/$local_part
75   user = CALLER
76
77
78 # ----- Retry -----
79
80 begin retry
81
82 * * F,5d,10s
83
84
85 # End