| 1 | # Exim test configuration 0003 |
| 2 | |
| 3 | exim_path = EXIM_PATH |
| 4 | host_lookup_order = bydns |
| 5 | spool_directory = DIR/spool |
| 6 | log_file_path = DIR/spool/log/%slog |
| 7 | gecos_pattern = "" |
| 8 | gecos_name = CALLER_NAME |
| 9 | |
| 10 | acl_smtp_rcpt = check_recipient |
| 11 | domainlist local_domains = test.ex |
| 12 | smtp_accept_max_nonmail = 1000 |
| 13 | |
| 14 | |
| 15 | # ----- ACL ----- |
| 16 | |
| 17 | begin acl |
| 18 | |
| 19 | check_recipient: |
| 20 | accept hosts = : |
| 21 | deny senders = a@b.c : X@Y.Z : ^\\Dx@e\\.f : ^\\DY@G\\.H :\ |
| 22 | lsearch*@;DIR/aux-fixed/0003.rej.lsearch :\ |
| 23 | @@lsearch*;DIR/aux-fixed/0003.rej.bydomain |
| 24 | accept domains = +local_domains |
| 25 | deny message = relay not permitted |
| 26 | |
| 27 | # End |