| 1 | # Exim test configuration 0049 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | acl_smtp_rcpt = check_recipient |
| 10 | |
| 11 | |
| 12 | # ------ ACL ------ |
| 13 | begin acl |
| 14 | |
| 15 | check_recipient: |
| 16 | accept hosts = : |
| 17 | |
| 18 | |
| 19 | # ----- Routers ----- |
| 20 | |
| 21 | begin routers |
| 22 | |
| 23 | localuser: |
| 24 | driver = accept |
| 25 | local_parts = userx |
| 26 | transport = local_delivery |
| 27 | |
| 28 | |
| 29 | # ----- Transports ----- |
| 30 | |
| 31 | begin transports |
| 32 | |
| 33 | local_delivery: |
| 34 | driver = appendfile |
| 35 | delivery_date_add |
| 36 | envelope_to_add |
| 37 | file = DIR/test-mail/$local_part |
| 38 | return_path_add |
| 39 | user = CALLER |
| 40 | |
| 41 | # End |