Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0089 |
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 : myhost.test.EX | |
10 | domainlist relay_domains = Test.ex : Relay.one.ex | |
11 | ||
12 | acl_smtp_rcpt = check_recipient | |
13 | ||
14 | helo_allow_chars = _ | |
15 | helo_accept_junk_hosts = *N-99.test.ex | |
16 | sender_unqualified_hosts = *N-99.test.EX | |
17 | ||
18 | ||
19 | # ----- ACL ----- | |
20 | ||
21 | begin acl | |
22 | ||
23 | check_recipient: | |
24 | accept hosts = : | |
25 | accept domains = +local_domains | |
26 | accept domains = +relay_domains | |
27 | deny message = relay not permitted | |
28 | ||
29 | ||
30 | # ----- Routers ----- | |
31 | ||
32 | begin routers | |
33 | ||
34 | manual: | |
35 | driver = manualroute | |
36 | caseful_local_part | |
37 | domains = ! +local_domains | |
38 | local_parts = XYZ | |
39 | route_list = * $domain byname | |
40 | transport = dummy | |
41 | ||
42 | lookuphost: | |
43 | driver = dnslookup | |
44 | domains = ! +local_domains | |
45 | verify_only | |
46 | ||
47 | fail_remote_domains: | |
48 | driver = redirect | |
49 | domains = ! +local_domains | |
50 | allow_fail | |
51 | data = :fail: unrouteable mail domain "$domain" | |
52 | ||
53 | select: | |
54 | driver = accept | |
55 | local_parts = ABCD | |
56 | retry_use_local_part | |
57 | transport = dummy | |
58 | ||
59 | localuser: | |
60 | driver = accept | |
61 | local_parts = userx | |
62 | transport = dummy | |
63 | ||
64 | ||
65 | # ----- Transports ----- | |
66 | ||
67 | begin transports | |
68 | ||
69 | dummy: | |
70 | driver = smtp | |
71 | ||
72 | ||
73 | # End |