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