OpenSSL: more info on accept zero-error
[users/heiko/exim.git] / test / confs / 4565
1 # Exim test configuration 4565
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         logwrite =      arc_oldest_pass <$arc_oldest_pass>
28         logwrite =      domains:        <$arc_domains>
29         condition =     ${if def:arc_state_reason}
30         logwrite =      reason:         <$arc_state_reason>
31
32 .ifdef OPTION
33   accept
34 .else
35   accept add_header =   :at_start:${authresults {$primary_hostname}}
36 .endif
37   
38 # ----- Routers -----
39
40 begin routers
41
42 d1:
43   driver = accept
44   local_parts = ^a
45   transport = tfile
46
47 redir:
48   driver =      redirect
49   data =        ${substr_1:$local_part}@$domain
50   redirect_router = fwd
51
52 fwd:
53   driver =      accept
54   transport =   tsmtp
55
56 # ----- Transports -----
57
58 begin transports
59
60 tfile:
61   driver =      appendfile
62   file =        DIR/test-mail/${bless:$local_part}
63   user =        CALLER
64
65 tsmtp:
66   driver =      smtp
67   hosts =       127.0.0.1
68   port =        PORT_D
69   allow_localhost
70   dkim_domain = $primary_hostname
71   dkim_selector = sel
72   dkim_private_key = DIR/aux-fixed/dkim/dkim.private
73 .ifndef OPTION
74   arc_sign =    $primary_hostname : sel : DIR/aux-fixed/dkim/dkim.private
75 .endif
76
77 # End