diff options
author | Maat <maat@mageia.org> | 2024-10-13 22:03:26 +0200 |
---|---|---|
committer | Maat <maat@mageia.org> | 2024-10-13 22:03:26 +0200 |
commit | ecafbbf7dc10ccdd7f6457a82ed37c5183f10654 (patch) | |
tree | 25ac0191e8befbf6c26aa14ca019d7bbe4de9e70 /modules | |
parent | 3ee34b63822b61a9ae361a4f7ca9f2166450fa62 (diff) | |
download | puppet-ecafbbf7dc10ccdd7f6457a82ed37c5183f10654.tar puppet-ecafbbf7dc10ccdd7f6457a82ed37c5183f10654.tar.gz puppet-ecafbbf7dc10ccdd7f6457a82ed37c5183f10654.tar.bz2 puppet-ecafbbf7dc10ccdd7f6457a82ed37c5183f10654.tar.xz puppet-ecafbbf7dc10ccdd7f6457a82ed37c5183f10654.zip |
Adding Sender Rewriting Scheme in preparation of DKIM activation
Note : postsrsd is manually installed / mga 7 for next version we will
need to package it properly
Diffstat (limited to 'modules')
-rw-r--r-- | modules/postfix/templates/main.cf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf index 7fe0f073..798ad6da 100644 --- a/modules/postfix/templates/main.cf +++ b/modules/postfix/templates/main.cf @@ -77,6 +77,20 @@ alias_maps = hash:/etc/postfix/aliases virtual_alias_maps = ldap:/etc/postfix/ldap_aliases.conf ldap:/etc/postfix/group_aliases.conf hash:/etc/postfix/virtual_aliases + + +# Adding DKIM Miler for primaryserver (sucuk) +smtpd_milters = inet:127.0.0.1:8891 +non_smtpd_milters = $smtpd_milters +milter_default_action = accept +milter_protocol = 2 + +# Adding Sender Rewriting Scheme +sender_canonical_maps = tcp:localhost:10003 +sender_canonical_classes = envelope_sender +#recipient_canonical_maps = tcp:localhost:10002 +#recipient_canonical_classes= envelope_recipient,header_recipient + <%- if classes.include?('sympa::server') -%> regexp:/etc/postfix/sympa_aliases <%- end -%> |