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