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