update to pre-4.87 master
[users/jgh/exim.git] / test / confs / 0377
1 # Exim test configuration 0377
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 defer:
22   driver = redirect
23   local_parts = ^defer
24   allow_defer
25   data = :defer: forced defer
26
27 unseen_aaaa:
28   driver = redirect
29   local_parts = aaaa
30   condition = ${if first_delivery{yes}{no}}
31   data = defer_aaaa@$domain
32   unseen
33
34 seen_aaaa:
35   driver = accept
36   local_parts = aaaa
37   transport = t1
38
39 bbbb:
40   driver = redirect
41   local_parts = bbbb
42   condition = ${if first_delivery{yes}{no}}
43   data = bbbb@$domain, defer_bbbb@$domain
44
45 bbbb_0:
46   driver = accept
47   local_parts = bbbb
48   transport = t1
49
50 cccc_2nd_time:
51   driver = redirect
52   local_parts = cccc
53   condition = ${if first_delivery{no}{yes}}
54   data = $local_part@$domain
55
56 cccc_redirect:
57   driver = redirect
58   local_parts = cccc
59   data = cccc@$domain, defer_cccc@$domain
60
61 cccc_accept:
62   driver = accept
63   local_parts = cccc
64   transport = t1
65
66
67 # ----- Transports -----
68
69 begin transports
70
71 t1:
72   driver = appendfile
73   file = DIR/test-mail/$local_part
74   user = CALLER
75
76
77 # ----- Retry -----
78
79 begin retry
80
81 * * F,5d,10s
82
83
84 # End