Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0087 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
afda344b | 5 | primary_hostname = myhost.test.ex |
afda344b PH |
6 | |
7 | # ----- Main settings ----- | |
8 | ||
9 | domainlist local_domains = test.ex | |
10 | ||
11 | acl_smtp_rcpt = check_recipient | |
12 | acl_smtp_data = check_message | |
13 | ||
14 | ||
15 | # ----- ACL ----- | |
16 | ||
17 | begin acl | |
18 | ||
19 | check_recipient: | |
20 | accept hosts = : | |
21 | require verify = sender | |
22 | accept domains = +local_domains | |
23 | deny message = relay not permitted | |
24 | ||
25 | check_message: | |
26 | require verify = header_sender | |
27 | accept | |
28 | ||
29 | ||
30 | # ----- Routers ----- | |
31 | ||
32 | begin routers | |
33 | ||
34 | defer: | |
35 | driver = redirect | |
36 | local_parts = defer | |
37 | allow_defer | |
38 | data = :defer: this is a forced defer | |
39 | ||
40 | localuser: | |
41 | driver = accept | |
42 | local_parts = userx | |
43 | verify_only | |
44 | ||
45 | ||
46 | # End |