Add dkim and dmarc service

This commit is contained in:
Jason Rothstein 2021-11-14 15:42:18 -06:00
parent 259dde90c1
commit 35bbd1bfff
3 changed files with 9 additions and 1 deletions

View File

@ -1,2 +1,3 @@
---
# defaults file for ensure_postfix
# defaults file for ensure_postfix
postmaster_email: 'postmaster@example.com'

View File

@ -72,6 +72,7 @@ SendReports yes
## failure reports. By default, the e-mail address of the user executing
## the filter is used (executing_user@hostname).
# ReportAddress "Example.com Postmaster" <postmaster@example.com>
ReportAddress "Postmaster" <{{ postmaster_email }}>
## Add a DKIM-Filter header field to messages passing through this filter
## to identify messages it has processed.

View File

@ -26,6 +26,12 @@ firewall_list:
service: 'smtp-submission'
state: 'enabled'
service_list:
- enabled: 'yes'
name: 'opendkim.service'
state: 'started'
- enabled: 'yes'
name: 'opendmarc.service'
state: 'started'
- enabled: 'yes'
name: 'postfix.service'
state: 'started'