OpenSSL: Fix client-side tls_verify_cert_hostnames behaviour
[users/heiko/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 dkim_verify_min_keysizes = rsa=512 ed25519=250
19 .ifdef FILTER
20 dkim_verify_minimal = true
21 .endif
22
23 DDIR=DIR/aux-fixed/dkim
24
25 log_selector = -dkim +dkim_verbose +received_recipients
26
27 # ----- Routers
28
29 begin routers
30
31 server_store:
32   driver =      accept
33   condition =   ${if eq {SERVER}{server}{yes}{no}}
34   transport =   file
35
36 client:
37   driver =      accept
38   transport =   send_to_server
39
40 # ----- Transports
41
42 begin transports
43
44 send_to_server:
45   driver = smtp
46   allow_localhost
47   hosts = HOSTIPV4
48   port = PORT_D
49   hosts_try_fastopen =  :
50
51   dkim_domain =         test.ex
52 .ifdef SELECTOR
53   dkim_selector =       SELECTOR
54 .else
55   dkim_selector =       sel
56 .endif
57
58   dkim_private_key =    ${extract {${length_3:$dkim_selector}} {\
59                                 ses=dkim512.private \
60                                 sel=dkim.private \
61                                 sed=dkim_ed25519.private \
62                                 }{DDIR/$value}}
63
64 .ifndef HEADERS_MAXSIZE
65   dkim_sign_headers =   OPT
66 .else
67   dkim_identity =       allheaders@$dkim_domain
68 .endif
69 .ifdef VALUE
70   dkim_hash =           VALUE
71 .endif
72 .ifdef STRICT
73   dkim_strict =         STRICT
74 .endif
75 .ifdef TIMES
76   dkim_timestamps =     TIMES
77 .endif
78
79 file:
80   driver =      appendfile
81   file =        DIR/test-mail/${bless:$local_part}
82   user =        CALLER
83
84 # End