Commit | Line | Data |
---|---|---|
37ff4e03 TL |
1 | # Exim test configuration 0092 |
2 | ||
afda344b PH |
3 | acl_smtp_rcpt = check_recipient |
4 | acl_smtp_data = check_message | |
5 | ||
6 | domainlist local_domains = test.ex : *.test.ex | |
7 | ||
8 | domainlist relay_domains = test.ex | |
9 | ||
d4dc049f JH |
10 | .include DIR/aux-var/std_conf_prefix |
11 | ||
afda344b | 12 | primary_hostname = myhost.test.ex |
afda344b PH |
13 | |
14 | # ----- Main settings ----- | |
15 | ||
1ad6489e | 16 | OPT = 2s |
4bcc0ff5 JH |
17 | |
18 | .ifndef COM | |
1ad6489e | 19 | smtp_receive_timeout = OPT |
afda344b | 20 | receive_timeout = 2s |
4bcc0ff5 | 21 | .endif |
afda344b PH |
22 | |
23 | ||
24 | begin acl | |
25 | ||
26 | check_recipient: | |
27 | accept hosts = : | |
28 | deny message = unrouteable address | |
29 | recipients = verify@test.ex | |
30 | !verify = recipient | |
31 | accept domains = +local_domains | |
32 | accept domains = +relay_domains | |
33 | deny message = relay not permitted | |
34 | ||
35 | check_message: | |
36 | accept | |
37 | ||
38 | ||
39 | # ----- Rewrite ----- | |
40 | ||
41 | # End | |
42 | ||
43 | ||
44 | ||
45 | ||
46 | # ----- Routers ----- | |
47 | ||
48 | begin routers | |
49 | ||
50 | fail_remote_domains: | |
51 | driver = redirect | |
52 | domains = ! +local_domains | |
53 | data = :fail: unrouteable mail domain "$domain" | |
54 | ||
55 | # ----- Directors ----- | |
56 | ||
57 | forward: | |
58 | driver = redirect | |
59 | file = DIR/aux-fixed/non-exist | |
60 | retry_use_local_part | |
61 | ||
62 | # End |