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