Fix CVE-2016-1531
[exim.git] / test / confs / 0198
CommitLineData
afda344b
PH
1# Exim test configuration 0198
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b 5host_lookup_order = bydns
afda344b
PH
6spool_directory = DIR/spool
7log_file_path = DIR/spool/log/%slog
8gecos_pattern = ""
9gecos_name = CALLER_NAME
23f3dc67 10tls_advertise_hosts =
afda344b
PH
11queue_run_in_order
12trusted_users = CALLER
13
14# This test originated as an Exim configuration check local parts before
15# relaying certain domains to a specific host.
16
17# We actually check this not by verifying, but by feeding in a message
18# using BSMTP.
19
20# ----- Main settings -----
21
22domainlist local_domains = copy.domain
23
24NEXTHOST = V4NET.0.0.1
25
26# This is the file containing valid local parts, and its search type.
27
28LOCALPARTFILE = DIR/aux-fixed/TESTNUM.locals
29SEARCHTYPE = lsearch
30
31
32# ----- Routers -----
33
34begin routers
35
36# This router passes all addresses to the passing-on transport. It is
37# used for the domains for which no local part checking is being done.
38
39passall:
40 driver = manualroute
41 domains = ! +local_domains
42 route_list = * NEXTHOST byname
43 transport = pass_on
44 no_more
45
46# This router checks for the existence of the local part in a file; if
47# found, the address is passed on for delivery to the next host.
48
49check_file:
50 driver = accept
51 condition = ${lookup{$local_part}SEARCHTYPE{LOCALPARTFILE}}
52 retry_use_local_part
53 transport = pass_on
54
55
56# ----- Transports -----
57
58# This transport is used for passing the message on to the next host.
59
60begin transports
61
62pass_on:
63 driver = smtp
64 connect_timeout = 1s
65 gethostbyname
66 hosts = NEXTHOST
67
68
69# ----- Retry -----
70
71
72begin retry
73
74* * F,2h,15m; G,16h,1h,1.5; F,4d,8h
75
76
77# End