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
|
user=policyd-spf argv=/usr/bin/policyd-spf
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sedfile -i -E \
|
# SPF policy settings
|
||||||
's|^(smtpd_recipient_restrictions.*reject_unauth_destination)(.*)|\1, check_policy_service unix:private/policyd-spf\2|' \
|
postconf 'policyd-spf_time_limit = 3600'
|
||||||
/etc/postfix/main.cf
|
sedfile -i -E \
|
||||||
# SPF policy settings
|
's|^(smtpd_recipient_restrictions.*reject_unauth_destination)(.*)|\1, check_policy_service unix:private/policyd-spf\2|' \
|
||||||
postconf 'policyd-spf_time_limit = 3600'
|
/etc/postfix/main.cf
|
||||||
|
|
||||||
else
|
else
|
||||||
_log 'debug' 'Disabling policyd-spf'
|
_log 'debug' 'Disabling policyd-spf'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -52,7 +52,7 @@ function __setup__security__postgrey
|
||||||
cp -f /tmp/docker-mailserver/whitelist_recipients /etc/postgrey/whitelist_recipients
|
cp -f /tmp/docker-mailserver/whitelist_recipients /etc/postgrey/whitelist_recipients
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
_log 'debug' 'Postscreen is disabled'
|
_log 'debug' 'Postgrey is disabled'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue