blob: 1012a38970af15b9575414b5783f52a6dde923b7 (
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
|
# Exim test configuration 4560
SERVER=
.include DIR/aux-var/std_conf_prefix
primary_hostname = test.ex
# ----- Main settings -----
acl_smtp_rcpt = accept
acl_smtp_data = check_data
log_selector = +received_recipients +dkim_verbose
queue_only
# ----- ACL -----
begin acl
check_data:
warn !verify = arc
.ifdef OPTION
accept
.else
accept add_header = :at_start:${authresults {$primary_hostname}}
.endif
# ----- Routers -----
begin routers
d1:
driver = accept
local_parts = ^a
transport = tfile
r2:
driver = redirect
local_parts = ^m
data = ${substr_1:$local_part}@$domain
redirect_router = mlist
redir:
driver = redirect
data = ${substr_1:$local_part}@$domain
redirect_router = fwd
fwd:
driver = accept
transport = tsmtp
mlist:
driver = accept
transport = tmlist
# ----- Transports -----
begin transports
tfile:
driver = appendfile
file = DIR/test-mail/$local_part
user = CALLER
tsmtp:
driver = smtp
hosts = HOSTIPV4
port = PORT_D
allow_localhost
.ifndef OPTION
arc_sign = $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private
.endif
tmlist:
driver = smtp
hosts = HOSTIPV4
port = PORT_D
allow_localhost
transport_filter = /bin/cat - DIR/aux-fixed/TESTNUM.mlistfooter
.ifndef OPTION
arc_sign = $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private
.endif
# End
|