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