| 1 | # Exim test configuration 0304 |
| 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 | acl_smtp_rcpt = acl1 |
| 15 | |
| 16 | # ----- ACLs ----- |
| 17 | |
| 18 | begin acl |
| 19 | |
| 20 | acl1: |
| 21 | deny message = failed 1 |
| 22 | recipients = \N^abc.*@.*\.x\.y\.z\N : a@b |
| 23 | |
| 24 | deny message = failed 2 |
| 25 | recipients = lsearch*@;DIR/aux-fixed/TESTNUM.d1 |
| 26 | |
| 27 | deny message = failed 3 |
| 28 | recipients = @@lsearch;DIR/aux-fixed/TESTNUM.d2 |
| 29 | |
| 30 | deny message = failed 4 |
| 31 | recipients = domain.only : *.domain2.only |
| 32 | |
| 33 | deny message = failed 5 |
| 34 | recipients = abc@domain3 : xyz@*.domain4 |
| 35 | |
| 36 | deny message = failed 6 |
| 37 | recipients = pqr@@ |
| 38 | |
| 39 | deny message = failed 7 |
| 40 | senders = : |
| 41 | recipients = b1@x |
| 42 | |
| 43 | deny message = failed 8 |
| 44 | senders = ^\$ |
| 45 | recipients = b2@x |
| 46 | |
| 47 | deny message = failed 9 |
| 48 | recipients = *@lsearch;DIR/aux-fixed/TESTNUM.d3 |
| 49 | |
| 50 | deny message = failed 10 |
| 51 | recipients = xyz@lsearch;DIR/aux-fixed/TESTNUM.d4 |
| 52 | |
| 53 | deny message = failed 11 |
| 54 | recipients = lsearch*@;DIR/aux-fixed/TESTNUM.d5 |
| 55 | |
| 56 | accept |
| 57 | |
| 58 | |
| 59 | |
| 60 | # ----- Retry ----- |
| 61 | |
| 62 | begin retry |
| 63 | |
| 64 | * * F,5d,5m |
| 65 | |
| 66 | # End |