DMARC: add variables for spf/dkim alignment results. Bug 3119
[exim.git] / test / confs / 4650
1 # Exim test configuration 4650
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/SERVER%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 chunking_advertise_hosts = *
11 tls_advertise_hosts =
12 .ifdef _HAVE_PIPE_CONNECT
13 pipelining_connect_advertise_hosts =
14 .endif
15
16 primary_hostname = myhost.test.ex
17
18 # ----- Main settings -----
19
20 dmarc_tld_file = DIR/aux-fixed/TESTNUM.tldfile
21 dmarc_history_file = DIR/tmp/TESTNUM.hist.dmarc
22 dkim_verify_hashes = sha256 : sha512 : sha1
23
24 acl_smtp_rcpt = accept
25 acl_smtp_data = check_data
26
27 queue_only
28
29 begin acl
30
31 check_data:
32   accept        hosts =         HOSTIPV4
33                 spf =           pass : !pass
34                 dmarc_status =  none : !none
35                 logwrite =      dmarc_status <$dmarc_status>
36                 logwrite =      dmarc_status_text <$dmarc_status_text>
37                 logwrite =      dmarc_used_domain <$dmarc_used_domain>
38                 logwrite =      dmarc_domain_policy <$dmarc_domain_policy>
39                 logwrite =      dmarc_alignment_spf <$dmarc_alignment_spf>
40                 logwrite =      dmarc_alignment_dkim <$dmarc_alignment_dkim>
41                 logwrite =      ${authresults {$primary_hostname}}
42
43 # End