diff options
author | Bryan Newbold <bnewbold@archive.org> | 2019-01-16 13:24:08 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2019-01-16 13:24:30 -0800 |
commit | 427427ec3bcb58eadaa9c62477f70a5f3c6f39e0 (patch) | |
tree | cf3e6030e2cfd158bf118965ffd79b44bba40ba9 /roles/mailserver/templates/etc_rspamd_local.d_dmarc.conf.j2 | |
parent | 619285adf88d3ea78a1501108888d0d2d23d0a06 (diff) | |
download | infra-427427ec3bcb58eadaa9c62477f70a5f3c6f39e0.tar.gz infra-427427ec3bcb58eadaa9c62477f70a5f3c6f39e0.zip |
mailserver role
Diffstat (limited to 'roles/mailserver/templates/etc_rspamd_local.d_dmarc.conf.j2')
-rw-r--r-- | roles/mailserver/templates/etc_rspamd_local.d_dmarc.conf.j2 | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/roles/mailserver/templates/etc_rspamd_local.d_dmarc.conf.j2 b/roles/mailserver/templates/etc_rspamd_local.d_dmarc.conf.j2 new file mode 100644 index 0000000..a850af9 --- /dev/null +++ b/roles/mailserver/templates/etc_rspamd_local.d_dmarc.conf.j2 @@ -0,0 +1,47 @@ +# Enables storing reporting information to redis +reporting = true; + +# Actions to enforce based on DMARC disposition +actions = { + quarantine = "add_header"; + reject = "reject"; +} + +# From Rspamd 1.6 experimental support for generation of DMARC reports is provided. +# send_reports MUST be true +send_reports = true; + +# report_settings MUST be present +report_settings { + # The following elements MUST be present + # organisation name to use for reports + org_name = "{{ organization }}"; + + # organisation domain + domain = "{{ domain }}"; + + # sender address to use for reports + email = "postmaster@{{ domain }}"; + + # The following elements MAY be present + # SMTP host to send reports to ("127.0.0.1" if unset) + # smtp = "127.0.0.1"; + + # TCP port to use for SMTP (25 if unset) + # smtp_port = 25; + + # HELO to use for SMTP ("rspamd" if unset) + # helo = "rspamd"; + + # Number of retries on temporary errors (2 if unset) + # retries = 2; + + # Send DMARC reports here instead of domain owners + # override_address = "postmaster@example.net"; + + # Send DMARC reports here in addition to domain owners + additional_address = "postmaster@{{ domain }}"; + + # Number of records to request with HSCAN + # hscan_count = 200 +} |