mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-18 00:06:19 +00:00
Moved whitelist ahead of policyd-spf check
This commit is contained in:
parent
8d70e17909
commit
d3377b860a
5 changed files with 22 additions and 60 deletions
|
|
@ -90,7 +90,7 @@ postconf -e "smtp_header_checks = pcre:/etc/postfix/smtp_header_checks"
|
|||
|
||||
# SPF and DKIM checks
|
||||
postconf -e "policy_time_limit = 3600"
|
||||
postconf -e "smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service unix:private/policy, check_client_access pcre:/etc/postfix/whitelisted_domains, check_sender_access lmdb:/etc/postfix/whitelisted_emails, check_client_access pcre:/etc/postfix/blacklisted_domains, check_sender_access lmdb:/etc/postfix/blacklisted_emails"
|
||||
postconf -e "smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_client_access pcre:/etc/postfix/whitelisted_domains, check_sender_access lmdb:/etc/postfix/whitelisted_emails, check_client_access pcre:/etc/postfix/blacklisted_domains, check_sender_access lmdb:/etc/postfix/blacklisted_emails, check_policy_service unix:private/policyd-spf"
|
||||
|
||||
# Milter configuration
|
||||
postconf -e "milter_default_action = accept"
|
||||
|
|
@ -135,7 +135,7 @@ submission inet n - y - - smtpd
|
|||
-o smtpd_sasl_path=private/auth
|
||||
|
||||
# SPF Policy
|
||||
policy unix - n n - - spawn
|
||||
policyd-spf unix - n n - - spawn
|
||||
user=nobody argv=/usr/bin/perl ${MYVEMAIL_POLICYD}
|
||||
master.cf
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue