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