Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0067 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b | 5 | primary_hostname = myhost.test.ex |
afda344b PH |
6 | |
7 | # ----- Main settings ----- | |
8 | ||
9 | domainlist local_domains = test.ex : myhost.ex | |
10 | domainlist relay_domains = test.ex : myhost.ex | |
11 | ||
12 | acl_smtp_rcpt = check_recipient | |
13 | smtp_accept_max_nonmail = 1000 | |
14 | ||
15 | # ----- ACL ----- | |
16 | ||
17 | begin acl | |
18 | ||
19 | check_recipient: | |
20 | accept hosts = : | |
21 | accept recipients = postmaster@* | |
22 | deny senders = !x@b.c : *@b.c :\ | |
23 | !^philip@a.b.c : ^(phil|quil)[^@]*@ :\ | |
24 | !yy@lsearch;DIR/aux-fixed/TESTNUM.rej.lsearch :\ | |
25 | lsearch*@;DIR/aux-fixed/TESTNUM.rej.lsearch :\ | |
26 | @@lsearch*;DIR/aux-fixed/TESTNUM.rej.bydomain : \ | |
27 | ! x@bb.cc : *@bb.cc :\ | |
28 | ! DIR/aux-fixed/TESTNUM.not1 : !DIR/aux-fixed/TESTNUM.not2 : \ | |
29 | bbb.ccc | |
30 | deny senders = 1234@m.n.o : DIR/aux-fixed/TESTNUM.rejrec | |
31 | accept domains = +local_domains | |
32 | accept domains = +relay_domains | |
33 | deny message = relay not permitted | |
34 | ||
35 | # End |