Fix CVE-2016-1531
[users/jgh/exim.git] / test / confs / 0091
1 # Exim test configuration 0091
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 acl_smtp_rcpt = check_recipient
16 acl_smtp_data = check_message
17 domainlist local_domains = test.ex : *.test.ex
18
19 # ----- ACL -----
20
21 begin acl
22
23 check_recipient:
24   deny    hosts = ! V4NET.0.0.1
25          !verify = sender
26   accept  domains = +local_domains
27   deny    message = relay not permitted
28
29 check_message:
30   require verify = header_sender
31   accept
32
33
34 # ----- Routers -----
35
36 begin routers
37
38 localuser:
39   driver = accept
40   local_parts = userx
41   verify_only
42
43
44 # End