| 1 | # Exim test configuration 0391 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | acl_smtp_rcpt = acl_rcpt |
| 10 | log_selector = +address_rewrite |
| 11 | |
| 12 | |
| 13 | # ----- ACL ----- |
| 14 | |
| 15 | begin acl |
| 16 | |
| 17 | acl_rcpt: |
| 18 | accept verify = sender |
| 19 | |
| 20 | |
| 21 | # ----- Routers ----- |
| 22 | |
| 23 | begin routers |
| 24 | |
| 25 | r1: |
| 26 | driver = accept |
| 27 | debug_print = sender_address=<$sender_address> \ |
| 28 | local_part=$local_part \ |
| 29 | domain=$domain |
| 30 | verify_only |
| 31 | verify_sender |
| 32 | |
| 33 | |
| 34 | # ----- Rewrite ------ |
| 35 | |
| 36 | begin rewrite |
| 37 | |
| 38 | *@*.x.y $local_part@x.y |
| 39 | |
| 40 | |
| 41 | # End |