Doc update: RFC 8314 submissions service
[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 : FAKE
18
19 DDIR=DIR/aux-fixed/dkim
20
21 log_selector = -dkim +dkim_verbose
22
23 # ----- Routers
24
25 begin routers
26
27 server_dump:
28   driver = redirect
29   condition = ${if eq {SERVER}{server}{yes}{no}}
30   data = :blackhole:
31
32 client:
33   driver = accept
34   transport = send_to_server
35
36 # ----- Transports
37
38 begin transports
39
40 send_to_server:
41   driver = smtp
42   allow_localhost
43   hosts = HOSTIPV4
44   port = PORT_D
45
46   dkim_domain =         test.ex
47 .ifdef SELECTOR
48   dkim_selector =       SELECTOR
49 .else
50   dkim_selector =       sel
51 .endif
52
53   dkim_private_key =    ${if match {$dkim_selector}{^ses}       {DDIR/dkim512.private} \
54                           {${if match {$dkim_selector}{^sel} {DDIR/dkim.private} \
55                           {}}}}
56
57 .ifndef HEADERS_MAXSIZE
58   dkim_sign_headers =   OPT
59 .else
60   dkim_identity =       allheaders@$dkim_domain
61 .endif
62 .ifdef VALUE
63   dkim_hash =           VALUE
64 .endif
65 .ifdef STRICT
66   dkim_strict =         STRICT
67 .endif
68
69 # End