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 tls_advertise_hosts =
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          !verify   = recipient/callout=no_cache
33   deny    hosts    = V4NET.0.0.5
34          !verify   = sender/callout=no_cache/check_postmaster
35   require verify   = sender
36   accept  domains  = +local_domains
37   deny    message  = relay not permitted
38
39 check_data:
40   deny    hosts = V4NET.0.0.4
41          !verify = header_sender/callout=no_cache
42   accept
43
44
45 # ----- Routers -----
46
47 begin routers
48
49 mxt3:
50   driver = dnslookup
51   domains = mxt3.test.ex
52   self = send
53   transport = smtp
54
55 localhost1:
56   driver = manualroute
57   domains = localhost1
58   route_list = * 127.0.0.1 byname
59   self = send
60   transport = smtp
61   no_more
62
63 lmtp:
64   driver = manualroute
65   domains = remote.lmtp
66   route_list = * 127.0.0.1
67   transport = lmtp
68   self = send
69
70 all:
71   driver = manualroute
72   domains = ! +local_domains
73   route_list = * "127.0.0.1 : HOSTIPV4" byname
74   self = send
75   transport = smtp
76   no_more
77
78
79 # ----- Transports -----
80
81 begin transports
82
83 smtp:
84   driver = smtp
85   port = PORT_S
86
87 lmtp:
88   driver = smtp
89   port = PORT_S
90   protocol = lmtp
91
92
93 # ----- Retry -----
94
95 begin retry
96
97 * * F,5d,10s
98
99
100 # End