Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0227 |
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_data | |
13 | ||
14 | ||
15 | # ----- ACL ----- | |
16 | ||
17 | begin acl | |
18 | ||
19 | check_recipient: | |
20 | warn senders = ^uncheckable2@ | |
21 | control = no_multiline_responses | |
22 | accept hosts = V4NET.0.0.4 | |
23 | deny hosts = V4NET.0.0.1 | |
24 | !verify = sender/callout=no_cache | |
25 | deny hosts = V4NET.0.0.3 | |
afda344b | 26 | !verify = recipient/callout=no_cache |
14de8063 JH |
27 | deny hosts = V4NET.0.0.7 |
28 | !verify = recipient/callout=no_cache,use_sender,random | |
afda344b | 29 | deny hosts = V4NET.0.0.5 |
afda344b | 30 | !verify = sender/callout=no_cache/check_postmaster |
91d08eb3 JH |
31 | deny hosts = V4NET.0.0.6 |
32 | !verify = sender/callout=no_cache | |
afda344b PH |
33 | require verify = sender |
34 | accept domains = +local_domains | |
35 | deny message = relay not permitted | |
36 | ||
37 | check_data: | |
38 | deny hosts = V4NET.0.0.4 | |
39 | !verify = header_sender/callout=no_cache | |
2a47f028 | 40 | accept |
afda344b PH |
41 | |
42 | ||
43 | # ----- Routers ----- | |
44 | ||
45 | begin routers | |
46 | ||
47 | mxt3: | |
48 | driver = dnslookup | |
49 | domains = mxt3.test.ex | |
50 | self = send | |
51 | transport = smtp | |
52 | ||
53 | localhost1: | |
54 | driver = manualroute | |
55 | domains = localhost1 | |
56 | route_list = * 127.0.0.1 byname | |
57 | self = send | |
58 | transport = smtp | |
59 | no_more | |
60 | ||
61 | lmtp: | |
62 | driver = manualroute | |
63 | domains = remote.lmtp | |
64 | route_list = * 127.0.0.1 | |
65 | transport = lmtp | |
66 | self = send | |
67 | ||
68 | all: | |
69 | driver = manualroute | |
70 | domains = ! +local_domains | |
71 | route_list = * "127.0.0.1 : HOSTIPV4" byname | |
72 | self = send | |
73 | transport = smtp | |
74 | no_more | |
75 | ||
76 | ||
77 | # ----- Transports ----- | |
78 | ||
79 | begin transports | |
80 | ||
81 | smtp: | |
82 | driver = smtp | |
83 | port = PORT_S | |
84 | ||
85 | lmtp: | |
86 | driver = smtp | |
87 | port = PORT_S | |
88 | protocol = lmtp | |
89 | ||
90 | ||
91 | # ----- Retry ----- | |
92 | ||
93 | begin retry | |
94 | ||
95 | * * F,5d,10s | |
96 | ||
97 | ||
98 | # End |