| 1 | # Exim test configuration 0185 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | |
| 6 | # ----- Main settings ----- |
| 7 | |
| 8 | domainlist local_domains = test.ex |
| 9 | |
| 10 | acl_smtp_rcpt = check_recipient |
| 11 | qualify_domain = test.ex |
| 12 | |
| 13 | |
| 14 | # ----- ACL ----- |
| 15 | |
| 16 | begin acl |
| 17 | |
| 18 | check_recipient: |
| 19 | accept hosts = : |
| 20 | accept domains = +local_domains |
| 21 | deny message = relay not permitted |
| 22 | |
| 23 | |
| 24 | # ----- Routers ----- |
| 25 | |
| 26 | begin routers |
| 27 | |
| 28 | all_R: |
| 29 | driver = manualroute |
| 30 | domains = ! +local_domains |
| 31 | route_list = * 127.0.0.1 byname |
| 32 | self = send |
| 33 | transport = smtp |
| 34 | no_more |
| 35 | |
| 36 | filter: |
| 37 | driver = redirect |
| 38 | allow_filter |
| 39 | allow_freeze |
| 40 | no_check_local_user |
| 41 | file = DIR/aux-var/TESTNUM.filter |
| 42 | owners = |
| 43 | reply_transport = autoreply |
| 44 | retry_use_local_part |
| 45 | user = CALLER |
| 46 | |
| 47 | alias: |
| 48 | driver = redirect |
| 49 | allow_defer |
| 50 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.alias}} |
| 51 | retry_use_local_part |
| 52 | |
| 53 | all_L: |
| 54 | driver = accept |
| 55 | retry_use_local_part |
| 56 | transport = appendfile |
| 57 | |
| 58 | |
| 59 | # ----- Transports ----- |
| 60 | |
| 61 | begin transports |
| 62 | |
| 63 | appendfile: |
| 64 | driver = appendfile |
| 65 | file = DIR/test-mail/${bless:$local_part} |
| 66 | user = CALLER |
| 67 | |
| 68 | autoreply: |
| 69 | driver = autoreply |
| 70 | user = CALLER |
| 71 | |
| 72 | smtp: |
| 73 | driver = smtp |
| 74 | port = PORT_S |
| 75 | hosts_try_fastopen = : |
| 76 | |
| 77 | |
| 78 | # ----- Retry ----- |
| 79 | |
| 80 | |
| 81 | begin retry |
| 82 | |
| 83 | * * F,5d,1d |
| 84 | |
| 85 | |
| 86 | # End |