Fix CVE-2016-1531
[exim.git] / test / confs / 0067
1 # Exim test configuration 0067
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 : myhost.ex
16 domainlist relay_domains = test.ex : myhost.ex
17
18 acl_smtp_rcpt = check_recipient
19 smtp_accept_max_nonmail = 1000
20
21 # ----- ACL -----
22
23 begin acl
24
25 check_recipient:
26   accept  hosts = :
27   accept  recipients = postmaster@*
28   deny    senders = !x@b.c : *@b.c :\
29            !^philip@a.b.c : ^(phil|quil)[^@]*@ :\
30            !yy@lsearch;DIR/aux-fixed/TESTNUM.rej.lsearch :\
31            lsearch*@;DIR/aux-fixed/TESTNUM.rej.lsearch :\
32            @@lsearch*;DIR/aux-fixed/TESTNUM.rej.bydomain : \
33            ! x@bb.cc : *@bb.cc :\
34            ! DIR/aux-fixed/TESTNUM.not1 : !DIR/aux-fixed/TESTNUM.not2 : \
35            bbb.ccc
36   deny    senders = 1234@m.n.o : DIR/aux-fixed/TESTNUM.rejrec
37   accept  domains = +local_domains
38   accept  domains = +relay_domains
39   deny    message = relay not permitted
40
41 # End