Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0043 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b PH |
5 | |
6 | # ----- Main settings ----- | |
7 | ||
8 | domainlist local_domains = exim.test.ex | |
9 | ||
10 | acl_smtp_rcpt = check_recipient | |
11 | log_selector = +smtp_incomplete_transaction | |
12 | qualify_domain = exim.test.ex | |
13 | ||
14 | ||
15 | # ----- ACL ----- | |
16 | ||
17 | begin acl | |
18 | ||
19 | check_recipient: | |
20 | accept hosts = : | |
21 | require verify = sender | |
22 | deny message = unrouteable address | |
23 | !verify = recipient | |
24 | accept domains = +local_domains | |
25 | deny message = relay not permitted | |
26 | ||
27 | ||
28 | ||
29 | # ----- Routers ----- | |
30 | ||
31 | begin routers | |
32 | ||
33 | fail_remote_domains: | |
34 | driver = redirect | |
35 | domains = ! +local_domains | |
36 | data = :fail: unrouteable mail domain "$domain" | |
37 | ||
38 | system_aliases: | |
39 | driver = redirect | |
40 | allow_defer | |
41 | allow_fail | |
42 | data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}} | |
43 | retry_use_local_part | |
44 | ||
45 | localuser: | |
46 | driver = accept | |
47 | local_parts = userx | |
48 | transport = local_delivery | |
49 | ||
50 | ||
51 | # ----- Transports ----- | |
52 | ||
53 | begin transports | |
54 | ||
55 | local_delivery: | |
56 | driver = appendfile | |
57 | delivery_date_add | |
58 | envelope_to_add | |
59 | file = DIR/test-mail/$local_part | |
60 | return_path_add | |
61 | user = CALLER | |
62 | ||
63 | # End |