| 1 | # Exim test configuration 0104 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | |
| 6 | # ----- Main settings ----- |
| 7 | |
| 8 | acl_smtp_rcpt = check_recipient |
| 9 | acl_smtp_data = check_message |
| 10 | |
| 11 | domainlist local_domains = test.ex : n.t |
| 12 | qualify_domain = test.ex |
| 13 | |
| 14 | |
| 15 | # ----- Rewrite ----- |
| 16 | |
| 17 | begin rewrite |
| 18 | |
| 19 | a.b@p.q yyy@test.ex |
| 20 | |
| 21 | # End |
| 22 | |
| 23 | |
| 24 | # ----- Routers ----- |
| 25 | |
| 26 | begin routers |
| 27 | |
| 28 | lookuphost: |
| 29 | driver = dnslookup |
| 30 | domains = ! +local_domains |
| 31 | transport = appendfile |
| 32 | widen_domains = test.ex |
| 33 | no_more |
| 34 | |
| 35 | all: |
| 36 | driver = accept |
| 37 | retry_use_local_part |
| 38 | transport = appendfile |
| 39 | |
| 40 | |
| 41 | # ----- Transports ----- |
| 42 | |
| 43 | begin transports |
| 44 | |
| 45 | appendfile: |
| 46 | driver = appendfile |
| 47 | file = DIR/test-mail/${bless:$local_part} |
| 48 | user = CALLER |
| 49 | |
| 50 | |
| 51 | # End |