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