| 1 | # Exim test configuration 0004 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | |
| 6 | acl_smtp_rcpt = check_recipient |
| 7 | domainlist local_domains = test.ex |
| 8 | smtp_accept_max_nonmail = 1000 |
| 9 | |
| 10 | |
| 11 | # ----- ACL ----- |
| 12 | |
| 13 | begin acl |
| 14 | |
| 15 | check_recipient: |
| 16 | accept hosts = : |
| 17 | deny senders = +caseful: a@b.c : X@Y.Z : ^\\Dx@e\\.f : ^\\DY@G\\.H :\ |
| 18 | lsearch*@;DIR/aux-fixed/0003.rej.lsearch :\ |
| 19 | @@lsearch*;DIR/aux-fixed/0003.rej.bydomain |
| 20 | accept domains = +local_domains |
| 21 | deny message = relay not permitted |
| 22 | |
| 23 | # End |