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