Fix CVE-2016-1531
[exim.git] / test / confs / 0227
1 # Exim test configuration 0227
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 primary_hostname = myhost.test.ex
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 domainlist local_domains = test.ex
16
17 acl_smtp_rcpt = check_recipient
18 acl_smtp_data = check_data
19
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   warn    senders  = ^uncheckable2@
27           control  = no_multiline_responses
28   accept  hosts    = V4NET.0.0.4
29   deny    hosts    = V4NET.0.0.1
30          !verify   = sender/callout=no_cache
31   deny    hosts    = V4NET.0.0.3
32           log_message = ($recipient_verify_failure)
33          !verify   = recipient/callout=no_cache
34   deny    hosts    = V4NET.0.0.5
35           log_message = ($sender_verify_failure)
36          !verify   = sender/callout=no_cache/check_postmaster
37   require verify   = sender
38   accept  domains  = +local_domains
39   deny    message  = relay not permitted
40
41 check_data:
42   deny    hosts = V4NET.0.0.4
43          !verify = header_sender/callout=no_cache
44   accept
45
46
47 # ----- Routers -----
48
49 begin routers
50
51 mxt3:
52   driver = dnslookup
53   domains = mxt3.test.ex
54   self = send
55   transport = smtp
56
57 localhost1:
58   driver = manualroute
59   domains = localhost1
60   route_list = * 127.0.0.1 byname
61   self = send
62   transport = smtp
63   no_more
64
65 lmtp:
66   driver = manualroute
67   domains = remote.lmtp
68   route_list = * 127.0.0.1
69   transport = lmtp
70   self = send
71
72 all:
73   driver = manualroute
74   domains = ! +local_domains
75   route_list = * "127.0.0.1 : HOSTIPV4" byname
76   self = send
77   transport = smtp
78   no_more
79
80
81 # ----- Transports -----
82
83 begin transports
84
85 smtp:
86   driver = smtp
87   port = PORT_S
88
89 lmtp:
90   driver = smtp
91   port = PORT_S
92   protocol = lmtp
93
94
95 # ----- Retry -----
96
97 begin retry
98
99 * * F,5d,10s
100
101
102 # End