OpenSSL: SSLKEYLOGFILE support
[users/jgh/exim.git] / test / confs / 4520
1 # Exim test configuration 4520
2
3 SERVER=
4 OPT=
5 FAKE =
6
7 .include DIR/aux-var/std_conf_prefix
8
9 primary_hostname = myhost.test.ex
10
11 # ----- Main settings -----
12
13 acl_smtp_rcpt = accept logwrite = rcpt acl: macro: _DKIM_SIGN_HEADERS
14 acl_smtp_dkim = accept logwrite = dkim_acl: signer: $dkim_cur_signer bits: $dkim_key_length h=$dkim_headernames
15 acl_smtp_data = accept logwrite = data acl: dkim status $dkim_verify_status
16
17 dkim_verify_signers = $dkim_signers
18 .ifdef FILTER
19 dkim_verify_minimal = true
20 .endif
21
22 DDIR=DIR/aux-fixed/dkim
23
24 log_selector = -dkim +dkim_verbose +received_recipients
25
26 # ----- Routers
27
28 begin routers
29
30 server_store:
31   driver =      accept
32   condition =   ${if eq {SERVER}{server}{yes}{no}}
33   transport =   file
34
35 client:
36   driver =      accept
37   transport =   send_to_server
38
39 # ----- Transports
40
41 begin transports
42
43 send_to_server:
44   driver = smtp
45   allow_localhost
46   hosts = HOSTIPV4
47   port = PORT_D
48
49   dkim_domain =         test.ex
50 .ifdef SELECTOR
51   dkim_selector =       SELECTOR
52 .else
53   dkim_selector =       sel
54 .endif
55
56   dkim_private_key =    ${extract {${length_3:$dkim_selector}} {\
57                                 ses=dkim512.private \
58                                 sel=dkim.private \
59                                 sed=dkim_ed25519.private \
60                                 }{DDIR/$value}}
61
62 .ifndef HEADERS_MAXSIZE
63   dkim_sign_headers =   OPT
64 .else
65   dkim_identity =       allheaders@$dkim_domain
66 .endif
67 .ifdef VALUE
68   dkim_hash =           VALUE
69 .endif
70 .ifdef STRICT
71   dkim_strict =         STRICT
72 .endif
73 .ifdef TIMES
74   dkim_timestamps =     TIMES
75 .endif
76
77 file:
78   driver =      appendfile
79   file =        DIR/test-mail/$local_part
80   user =        CALLER
81
82 # End