diff options
author | Bruno Cornec <bruno@victoria.frmug.org> | 2024-02-20 20:29:19 +0100 |
---|---|---|
committer | Bruno Cornec <bruno@victoria.frmug.org> | 2024-02-20 20:29:19 +0100 |
commit | 93bcc9bb2010c9ab401e57a5494a4e3444935163 (patch) | |
tree | 5740c4580e736938c12b6889d628f92cb2390995 /modules | |
parent | ee3b095f21f4f035120e5be13f2c3865f6598f30 (diff) | |
download | puppet-user/bcornec/DKIM.tar puppet-user/bcornec/DKIM.tar.gz puppet-user/bcornec/DKIM.tar.bz2 puppet-user/bcornec/DKIM.tar.xz puppet-user/bcornec/DKIM.zip |
Add DKIM conf for postfix serversuser/bcornec/DKIM
Diffstat (limited to 'modules')
-rw-r--r-- | modules/postfix/templates/main.cf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf index 40e5d352..39b004d8 100644 --- a/modules/postfix/templates/main.cf +++ b/modules/postfix/templates/main.cf @@ -114,6 +114,16 @@ smtp_tls_security_level = may smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt <%- if all_tags.include?('postfix::server') -%> +# +# OpenDKIM configuration +# +milter_protocol = 6 +milter_default_action = accept +smtpd_milters = inet:localhost:<%= psocket %> +non_smtpd_milters = inet:localhost:<%= psocket %> +<%- end -%> + +<%- if all_tags.include?('postfix::server') -%> smtpd_etrn_restrictions = reject smtpd_helo_required = yes |