| 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 | |
| 22 | acl_smtp_rcpt = accept |
| 23 | acl_smtp_data = check_data |
| 24 | |
| 25 | queue_only |
| 26 | |
| 27 | begin acl |
| 28 | |
| 29 | check_data: |
| 30 | accept hosts = HOSTIPV4 |
| 31 | spf = pass : !pass |
| 32 | dmarc_status = none : !none |
| 33 | logwrite = dmarc_status <$dmarc_status> |
| 34 | logwrite = dmarc_status_text <$dmarc_status_text> |
| 35 | logwrite = dmarc_used_domain <$dmarc_used_domain> |
| 36 | logwrite = dmarc_domain_policy <$dmarc_domain_policy> |
| 37 | logwrite = ${authresults {$primary_hostname}} |
| 38 | |
| 39 | # End |