blob: 17f49eb76fe85cd14e4f86d7a4f946b68dbcfbc9 (
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
99
100
101
|
# Exim test configuration 0227
exim_path = EXIM_PATH
host_lookup_order = bydns
primary_hostname = myhost.test.ex
rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME
# ----- 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
log_message = ($recipient_verify_failure)
!verify = recipient/callout=no_cache
deny hosts = V4NET.0.0.5
log_message = ($sender_verify_failure)
!verify = sender/callout=no_cache/check_postmaster
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
|