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