| 1 | # Exim test configuration 0391 |
| 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 = acl_rcpt |
| 14 | log_selector = +address_rewrite |
| 15 | |
| 16 | |
| 17 | # ----- ACL ----- |
| 18 | |
| 19 | begin acl |
| 20 | |
| 21 | acl_rcpt: |
| 22 | accept verify = sender |
| 23 | |
| 24 | |
| 25 | # ----- Routers ----- |
| 26 | |
| 27 | begin routers |
| 28 | |
| 29 | r1: |
| 30 | driver = accept |
| 31 | debug_print = sender_address=<$sender_address> \ |
| 32 | local_part=$local_part \ |
| 33 | domain=$domain |
| 34 | verify_only |
| 35 | verify_sender |
| 36 | |
| 37 | |
| 38 | # ----- Rewrite ------ |
| 39 | |
| 40 | begin rewrite |
| 41 | |
| 42 | *@*.x.y $local_part@x.y |
| 43 | |
| 44 | |
| 45 | # End |