Fix CVE-2016-1531
[exim.git] / test / confs / 0174
CommitLineData
afda344b
PH
1# Exim test configuration 0174
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
11
12# ----- Main settings -----
13
14domainlist local_domains = test.ex
15
16qualify_domain = test.ex
17trusted_users = CALLER
18
19
20# ----- Routers -----
21
22begin routers
23
24check1:
25 driver = manualroute
26 condition = ${if or {\
27 {eq {$sender_address}{}}\
28 {eq {$received_protocol}{scanned-ok}}\
29 }{no}{yes}}
30 domains = ! +local_domains
31 route_list = *
32 transport = pipe
33
34fail_remote_domains:
35 driver = redirect
36 domains = ! +local_domains
37 allow_fail
38 data = :fail: unrouteable mail domain "$domain" (:fail:)
39
40check2:
41 driver = accept
42 condition = ${if or {\
43 {eq {$sender_address}{}}\
44 {eq {$received_protocol}{scanned-ok}}\
45 }{no}{yes}}
46 retry_use_local_part
47 transport = pipe
48
49all:
50 driver = accept
51 retry_use_local_part
52 transport = appendfile
53
54
55# ----- Transports -----
56
57begin transports
58
59appendfile:
60 driver = appendfile
61 file = DIR/test-mail/$local_part
62 user = CALLER
63
64pipe:
65 driver = pipe
66 batch_max = 100
67 use_bsmtp
68 command = DIR/aux-fixed/resubmitB DIR/ CALLER
69 message_prefix =
70 return_output
71 user = CALLER
72
73
74# ----- Retry -----
75
76
77begin retry
78
79* * F,5d,1d
80
81
82# End