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 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15
16 acl_smtp_rcpt = check_recipient
17 acl_smtp_data = check_data
18
19
20 # ----- ACL -----
21
22 begin acl
23
24 check_recipient:
25   warn    senders  = ^uncheckable2@
26           control  = no_multiline_responses
27   accept  hosts    = V4NET.0.0.4
28   deny    hosts    = V4NET.0.0.1
29          !verify   = sender/callout=no_cache
30   deny    hosts    = V4NET.0.0.3
31          !verify   = recipient/callout=no_cache
32   deny    hosts    = V4NET.0.0.5
33          !verify   = sender/callout=no_cache/check_postmaster
34   require verify   = sender
35   accept  domains  = +local_domains
36   deny    message  = relay not permitted
37
38 check_data:
39   deny    hosts = V4NET.0.0.4
40          !verify = header_sender/callout=no_cache
41   accept
42
43
44 # ----- Routers -----
45
46 begin routers
47
48 mxt3:
49   driver = dnslookup
50   domains = mxt3.test.ex
51   self = send
52   transport = smtp
53
54 localhost1:
55   driver = manualroute
56   domains = localhost1
57   route_list = * 127.0.0.1 byname
58   self = send
59   transport = smtp
60   no_more
61
62 lmtp:
63   driver = manualroute
64   domains = remote.lmtp
65   route_list = * 127.0.0.1
66   transport = lmtp
67   self = send
68
69 all:
70   driver = manualroute
71   domains = ! +local_domains
72   route_list = * "127.0.0.1 : HOSTIPV4" byname
73   self = send
74   transport = smtp
75   no_more
76
77
78 # ----- Transports -----
79
80 begin transports
81
82 smtp:
83   driver = smtp
84   port = PORT_S
85
86 lmtp:
87   driver = smtp
88   port = PORT_S
89   protocol = lmtp
90
91
92 # ----- Retry -----
93
94 begin retry
95
96 * * F,5d,10s
97
98
99 # End