| 1 | # Exim test configuration 0464 |
| 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 = rcpt |
| 15 | |
| 16 | domainlist local_domains = test.ex |
| 17 | domainlist special_domains = lsearch;DIR/aux-fixed/TESTNUM.domains |
| 18 | |
| 19 | |
| 20 | # ----- ACLs ----- |
| 21 | |
| 22 | begin acl |
| 23 | |
| 24 | rcpt: |
| 25 | require domains = +special_domains |
| 26 | verify = recipient |
| 27 | |
| 28 | require domains = +special_domains |
| 29 | verify = recipient |
| 30 | accept |
| 31 | |
| 32 | |
| 33 | # ----- Routers ----- |
| 34 | |
| 35 | begin routers |
| 36 | |
| 37 | r1: |
| 38 | driver = redirect |
| 39 | domains = +special_domains |
| 40 | data = $local_part@xxx.$domain |
| 41 | |
| 42 | r2: |
| 43 | driver = accept |
| 44 | transport = smtp |
| 45 | |
| 46 | |
| 47 | # ----- Transports ----- |
| 48 | |
| 49 | begin transports |
| 50 | |
| 51 | smtp: |
| 52 | driver = smtp |
| 53 | port = PORT_S |
| 54 | |
| 55 | # End |