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