ARC: fix crash in signing
[users/jgh/exim.git] / test / confs / 4525
1 # Exim test configuration 4525
2
3 SERVER=
4 OPT=
5 FAKE =
6
7 keep_environment = PATH
8 exim_path = EXIM_PATH
9 host_lookup_order = bydns
10 spool_directory = DIR/spool
11
12 .ifdef SERVER
13 log_file_path = DIR/spool/log/SERVER%slog
14 .else
15 log_file_path = DIR/spool/log/%slog
16 .endif
17
18 gecos_pattern = ""
19 gecos_name = CALLER_NAME
20 dns_cname_loops = 9
21 chunking_advertise_hosts = *
22
23 .ifdef _HAVE_REQTLS
24 tls_advertise_requiretls =
25 .endif
26 .ifdef _HAVE_PIPE_CONNECT
27 pipelining_connect_advertise_hosts = :
28 .endif
29 .ifdef _HAVE_DMARC
30 dmarc_tld_file =
31 .endif
32 tls_advertise_hosts =
33
34 primary_hostname = myhost.test.ex
35
36 # ----- Main settings -----
37
38 acl_smtp_rcpt = accept logwrite = rcpt acl: macro: _DKIM_SIGN_HEADERS
39 acl_smtp_dkim = accept logwrite = dkim_acl: signer: $dkim_cur_signer bits: $dkim_key_length h=$dkim_headernames
40 acl_smtp_data = accept logwrite = data acl: dkim status $dkim_verify_status
41
42 dkim_verify_signers = $dkim_signers
43
44 DDIR=DIR/aux-fixed/dkim
45
46 log_selector = +received_recipients
47
48
49 # ----- Routers
50
51 begin routers
52
53 server_store:
54   driver =      accept
55   condition =   ${if eq {SERVER}{server}{yes}{no}}
56   transport =   file
57
58 client:
59   driver =      accept
60   transport =   send_to_server
61
62 # ----- Transports
63
64 begin transports
65
66 send_to_server:
67   driver = smtp
68   allow_localhost
69   hosts = HOSTIPV4
70   port = PORT_D
71
72 .ifdef FILTER
73   transport_filter =    /bin/cat - DIR/aux-fixed/TESTNUM.mlistfooter
74 .endif
75 .ifndef ALLOW
76   hosts_try_chunking = :
77 .endif
78
79   dkim_domain =         test.ex
80 .ifdef SELECTOR
81   dkim_selector =       SELECTOR
82 .else
83   dkim_selector =       sel
84 .endif
85
86   dkim_private_key =    ${extract {${length_3:$dkim_selector}} {\
87                                 ses=dkim512.private \
88                                 sel=dkim.private \
89                                 sed=dkim_ed25519.private \
90                                 }{DDIR/$value}}
91
92 .ifndef HEADERS_MAXSIZE
93   dkim_sign_headers =   OPT
94 .else
95   dkim_identity =       allheaders@$dkim_domain
96 .endif
97 .ifdef VALUE
98   dkim_hash =           VALUE
99 .endif
100 .ifdef STRICT
101   dkim_strict =         STRICT
102 .endif
103 .ifdef TIMES
104   dkim_timestamps =     TIMES
105 .endif
106
107 file:
108   driver =      appendfile
109   file =        DIR/test-mail/$local_part
110   user =        CALLER
111
112 # End