| 1 | # Exim test configuration 0445 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | |
| 8 | # ----- Main settings ----- |
| 9 | |
| 10 | qualify_domain = test.ex |
| 11 | |
| 12 | acl_smtp_rcpt = rcpt |
| 13 | |
| 14 | |
| 15 | # ----- ACL ----- |
| 16 | |
| 17 | begin acl |
| 18 | |
| 19 | rcpt: |
| 20 | deny !verify = sender |
| 21 | |
| 22 | |
| 23 | # ----- Routers ----- |
| 24 | |
| 25 | begin routers |
| 26 | |
| 27 | bad_addresses: |
| 28 | driver = redirect |
| 29 | data = ${lookup{$local_part@$domain}lsearch{DIR/aux-fixed/TESTNUM.data}\ |
| 30 | {:fail:$value}fail} |
| 31 | allow_fail |
| 32 | verify_only |
| 33 | debug_print = "+++ sender_address=<$sender_address>" |
| 34 | |
| 35 | # End |