testsuite: abstract out common conf settings
[exim.git] / test / confs / 0098
1 # Exim test configuration 0098
2
3 WMF=
4
5 .include DIR/aux-var/std_conf_prefix
6
7
8 # ----- Main settings -----
9
10 qualify_domain = test.ex
11
12 domainlist local_domains = test.ex : another.test.ex
13
14 delay_warning = 10s:40s:10m
15
16 .ifndef DEFAULTDWC
17 delay_warning_condition = ${if !eq{$domain}{another.test.ex}{yes}{no}}
18 .endif
19
20 log_selector = +subject
21
22 queue_run_in_order
23
24 WMF
25
26
27 # ----- Routers -----
28
29 begin routers
30
31 refused:
32   driver = manualroute
33   domains = ! +local_domains
34   route_list = connection.refused 127.0.0.1 byname
35   self = send
36   transport = smtp_connect_refused
37
38 # The IP address is deliberately V4NET.0.0.1 so as to be unreachable
39 all:
40   driver = manualroute
41   domains = ! +local_domains
42   route_list = * V4NET.0.0.1 byname
43   transport = smtp
44   no_more
45
46 alias:
47   driver = redirect
48   allow_defer
49   data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
50   retry_use_local_part
51
52 userforward:
53   driver = redirect
54   allow_filter
55   user = CALLER
56   file = DIR/aux-fixed/TESTNUM.forward
57
58 localuser:
59   driver = accept
60   local_parts = userx : CALLER
61   transport = local_delivery
62
63
64 # ----- Transports -----
65
66 begin transports
67
68 local_delivery:
69   driver = appendfile
70   delivery_date_add
71   envelope_to_add
72   file = DIR/test-mail/$local_part
73   return_path_add
74   user = CALLER
75
76 smtp:
77   driver = smtp
78   connect_timeout = 1s
79
80 smtp_connect_refused:
81   driver = smtp
82   port = PORT_N
83
84
85 # ----- Retry -----
86
87 begin retry
88
89 connection.refused * F,2d,3s
90 *                  * F,2d,15m
91
92 # End