Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0391 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b PH |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.test.ex | |
afda344b PH |
7 | spool_directory = DIR/spool |
8 | log_file_path = DIR/spool/log/%slog | |
9 | gecos_pattern = "" | |
10 | gecos_name = CALLER_NAME | |
23f3dc67 | 11 | tls_advertise_hosts = |
afda344b PH |
12 | |
13 | # ----- Main settings ----- | |
14 | ||
15 | acl_smtp_rcpt = acl_rcpt | |
16 | log_selector = +address_rewrite | |
17 | ||
18 | ||
19 | # ----- ACL ----- | |
20 | ||
21 | begin acl | |
22 | ||
23 | acl_rcpt: | |
24 | accept verify = sender | |
25 | ||
26 | ||
27 | # ----- Routers ----- | |
28 | ||
29 | begin routers | |
30 | ||
31 | r1: | |
32 | driver = accept | |
33 | debug_print = sender_address=<$sender_address> \ | |
34 | local_part=$local_part \ | |
35 | domain=$domain | |
36 | verify_only | |
37 | verify_sender | |
38 | ||
39 | ||
40 | # ----- Rewrite ------ | |
41 | ||
42 | begin rewrite | |
43 | ||
44 | *@*.x.y $local_part@x.y | |
45 | ||
46 | ||
47 | # End |