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 PH |
26 | !verify = recipient/callout=no_cache |
27 | deny hosts = V4NET.0.0.5 | |
afda344b | 28 | !verify = sender/callout=no_cache/check_postmaster |
91d08eb3 JH |
29 | deny hosts = V4NET.0.0.6 |
30 | !verify = sender/callout=no_cache | |
afda344b PH |
31 | require verify = sender |
32 | accept domains = +local_domains | |
33 | deny message = relay not permitted | |
34 | ||
35 | check_data: | |
36 | deny hosts = V4NET.0.0.4 | |
37 | !verify = header_sender/callout=no_cache | |
2a47f028 | 38 | accept |
afda344b PH |
39 | |
40 | ||
41 | # ----- Routers ----- | |
42 | ||
43 | begin routers | |
44 | ||
45 | mxt3: | |
46 | driver = dnslookup | |
47 | domains = mxt3.test.ex | |
48 | self = send | |
49 | transport = smtp | |
50 | ||
51 | localhost1: | |
52 | driver = manualroute | |
53 | domains = localhost1 | |
54 | route_list = * 127.0.0.1 byname | |
55 | self = send | |
56 | transport = smtp | |
57 | no_more | |
58 | ||
59 | lmtp: | |
60 | driver = manualroute | |
61 | domains = remote.lmtp | |
62 | route_list = * 127.0.0.1 | |
63 | transport = lmtp | |
64 | self = send | |
65 | ||
66 | all: | |
67 | driver = manualroute | |
68 | domains = ! +local_domains | |
69 | route_list = * "127.0.0.1 : HOSTIPV4" byname | |
70 | self = send | |
71 | transport = smtp | |
72 | no_more | |
73 | ||
74 | ||
75 | # ----- Transports ----- | |
76 | ||
77 | begin transports | |
78 | ||
79 | smtp: | |
80 | driver = smtp | |
81 | port = PORT_S | |
82 | ||
83 | lmtp: | |
84 | driver = smtp | |
85 | port = PORT_S | |
86 | protocol = lmtp | |
87 | ||
88 | ||
89 | # ----- Retry ----- | |
90 | ||
91 | begin retry | |
92 | ||
93 | * * F,5d,10s | |
94 | ||
95 | ||
96 | # End |