Fix CVE-2016-1531
[exim.git] / test / confs / 0281
CommitLineData
afda344b
PH
1# Exim test configuration 0281
2
3exim_path = EXIM_PATH
bc3c7bb7 4keep_environment =
afda344b
PH
5host_lookup_order = bydns
6primary_hostname = myhost.test.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 = acl_rcpt_$local_part
16allow_domain_literals
17hosts_treat_as_local = other1.test.ex
18
19
20# ------ ACLs ------
21
22begin acl
23
24acl_rcpt_1:
25 require message = domain doesn't match @ or @[]
26 domains = @ : @[]
27 accept
28
29acl_rcpt_2:
30 require message = domain doesn't match @mx_any
31 domains = @mx_any
32 accept
33
34acl_rcpt_3:
35 require message = domain doesn't match @mx_primary
36 domains = @mx_primary
37 accept
38
39acl_rcpt_4:
40 require message = domain doesn't match @mx_secondary
41 domains = @mx_secondary
42 accept
43
44acl_rcpt_5:
45 require message = host doesn't match @ or @[]
46 hosts = @ : @[]
47 accept
48
49
50# ------ Routers ------
51
52begin routers
53
54r1:
55 driver = dnslookup
56 domains = ! +local_domains
57 transport = dev_null
58 no_more
59
60r2:
61 driver = accept
62 local_parts = CALLER : postmaster
63 transport = local_delivery
64
65
66# ------ Transports ------
67
68begin transports
69
70dev_null:
71 driver = appendfile
72 file = /dev/null
73 user = CALLER
74
75local_delivery:
76 driver = appendfile
77 file = DIR/test-mail/$local_part
78 user = CALLER
79
80# End