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