tidying
[exim.git] / test / confs / 4560
CommitLineData
617d3932
JH
1# Exim test configuration 4560
2
3SERVER=
f48946eb
JH
4VALUE=
5INSERT=
617d3932
JH
6
7.include DIR/aux-var/std_conf_prefix
8
9primary_hostname = test.ex
10
11# ----- Main settings -----
12
13acl_smtp_rcpt = accept
14acl_smtp_data = check_data
15
16log_selector = +received_recipients +dkim_verbose
17queue_only
18
19# ----- ACL -----
20begin acl
21
22check_data:
f48946eb
JH
23 warn !verify = arc VALUE
24 INSERT
25
ea7b1f16
JH
26 warn logwrite = arc_state: <$arc_state>
27 logwrite = domains: <$arc_domains>
28 logwrite = arc_oldest_pass <$arc_oldest_pass>
93c931f8 29 condition = ${if def:arc_state_reason}
ea7b1f16 30 logwrite = reason: <$arc_state_reason>
93c931f8 31
617d3932
JH
32.ifdef OPTION
33 accept
34.else
35 accept add_header = :at_start:${authresults {$primary_hostname}}
36.endif
37
38# ----- Routers -----
39
40begin routers
41
42d1:
43 driver = accept
44 local_parts = ^a
45 transport = tfile
46
47r2:
48 driver = redirect
49 local_parts = ^m
50 data = ${substr_1:$local_part}@$domain
51 redirect_router = mlist
52
53redir:
54 driver = redirect
55 data = ${substr_1:$local_part}@$domain
56 redirect_router = fwd
57
58fwd:
59 driver = accept
60 transport = tsmtp
61
62mlist:
63 driver = accept
64 transport = tmlist
65
66# ----- Transports -----
67
68begin transports
69
70tfile:
71 driver = appendfile
72 file = DIR/test-mail/$local_part
73 user = CALLER
74
75tsmtp:
76 driver = smtp
798a7ffe 77 hosts = 127.0.0.1
617d3932
JH
78 port = PORT_D
79 allow_localhost
80.ifndef OPTION
81 arc_sign = $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private
82.endif
83
84tmlist:
85 driver = smtp
798a7ffe 86 hosts = 127.0.0.1
617d3932
JH
87 port = PORT_D
88 allow_localhost
89 transport_filter = /bin/cat - DIR/aux-fixed/TESTNUM.mlistfooter
90.ifndef OPTION
91 arc_sign = $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private
92.endif
93
94# End