Fix CVE-2016-1531
[exim.git] / test / confs / 0057
CommitLineData
afda344b
PH
1# Exim test configuration 0057
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.ex
afda344b
PH
7spool_directory = DIR/spool
8log_file_path = DIR/spool/log/%slog
9gecos_pattern = ""
10gecos_name = CALLER_NAME
23f3dc67 11tls_advertise_hosts =
afda344b
PH
12
13# ----- Main settings -----
14
15acl_smtp_rcpt = check_recipient
16
17domainlist local_domains = test.ex : myhost.ex : *.test.ex
18domainlist relay_domains = test.ex : !*
19
20percent_hack_domains = ! a.test.ex : !b.test.ex : \
21 !DIR/aux-fixed/TESTNUM.d1 : ! DIR/aux-fixed/TESTNUM.d2 : *.test.ex
22
23
24# ------ ACL ------
25
26begin acl
27
28check_recipient:
29 accept domains = +local_domains
30 accept domains = +relay_domains
31 deny message = relay not permitted
32
33
34# ----- Routers -----
35
36begin routers
37
38fail_remote_domains:
39 driver = redirect
40 domains = ! +local_domains
41 data = :fail: unrouteable mail domain "$domain"
42
43localuser:
44 driver = accept
45 local_parts = userx
46 verify_only
47
48# End