DKIM: support multiple hash methods
[exim.git] / test / confs / 4520
1 # Exim test configuration 4520
2
3 SERVER=
4 OPT=
5
6 .include DIR/aux-var/std_conf_prefix
7
8 primary_hostname = myhost.test.ex
9
10 # ----- Main settings -----
11
12 acl_smtp_rcpt = accept
13 acl_smtp_dkim = accept logwrite = signer: $dkim_cur_signer bits: $dkim_key_length h=$dkim_headernames
14
15
16 # ----- Routers
17
18 begin routers
19
20 server_dump:
21   driver = redirect
22   condition = ${if eq {SERVER}{server}{yes}{no}}
23   data = :blackhole:
24
25 client:
26   driver = accept
27   transport = send_to_server
28
29 # ----- Transports
30
31 begin transports
32
33 send_to_server:
34   driver = smtp
35   allow_localhost
36   hosts = HOSTIPV4
37   port = PORT_D
38
39   dkim_domain =         test.ex
40 .ifdef SELECTOR
41   dkim_selector =       SELECTOR
42 .else
43   dkim_selector =       sel
44 .endif
45   dkim_private_key =    DIR/aux-fixed/dkim/dkim.private
46 .ifndef HEADERS_MAXSIZE
47   dkim_sign_headers =   OPT
48 .endif
49 .ifdef VALUE
50   dkim_hash =           VALUE
51 .endif
52
53 # End