mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
scripts: misc improvements (#3281)
* corrected typo * corrected indentation
This commit is contained in:
parent
1c9ed6ce32
commit
88cd244e47
|
@ -98,12 +98,11 @@ policyd-spf unix - n n - 0 spawn
|
|||
user=policyd-spf argv=/usr/bin/policyd-spf
|
||||
EOF
|
||||
|
||||
sedfile -i -E \
|
||||
's|^(smtpd_recipient_restrictions.*reject_unauth_destination)(.*)|\1, check_policy_service unix:private/policyd-spf\2|' \
|
||||
/etc/postfix/main.cf
|
||||
# SPF policy settings
|
||||
postconf 'policyd-spf_time_limit = 3600'
|
||||
|
||||
# SPF policy settings
|
||||
postconf 'policyd-spf_time_limit = 3600'
|
||||
sedfile -i -E \
|
||||
's|^(smtpd_recipient_restrictions.*reject_unauth_destination)(.*)|\1, check_policy_service unix:private/policyd-spf\2|' \
|
||||
/etc/postfix/main.cf
|
||||
else
|
||||
_log 'debug' 'Disabling policyd-spf'
|
||||
fi
|
||||
|
|
|
@ -52,7 +52,7 @@ function __setup__security__postgrey
|
|||
cp -f /tmp/docker-mailserver/whitelist_recipients /etc/postgrey/whitelist_recipients
|
||||
fi
|
||||
else
|
||||
_log 'debug' 'Postscreen is disabled'
|
||||
_log 'debug' 'Postgrey is disabled'
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue