mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 17:44:49 +02:00
Postfix: add smtpd_data_restrictions = reject_unauth_pipelining
(#3744)
* add `smtpd_data_restrictions = reject_unauth_pipelining` * fix: Skip restriction if trusted * add changelog entry * revert change to `postfix-amavis.cf` * Update CHANGELOG.md --------- Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
25c7024cc4
commit
bf69ef248e
3 changed files with 8 additions and 3 deletions
|
@ -44,7 +44,7 @@ function teardown_file() { _default_teardown ; }
|
|||
# The other spam checks in `main.cf:smtpd_recipient_restrictions` would interfere with testing postgrey.
|
||||
_run_in_container sed -i \
|
||||
-e 's/permit_sasl_authenticated.*policyd-spf,$//g' \
|
||||
-e 's/reject_unauth_pipelining.*reject_unknown_recipient_domain,$//g' \
|
||||
-e 's/reject_invalid_helo_hostname.*reject_unknown_recipient_domain,$//g' \
|
||||
-e 's/reject_rbl_client.*inet:127\.0\.0\.1:10023$//g' \
|
||||
-e 's/smtpd_recipient_restrictions =/smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10023/g' \
|
||||
/etc/postfix/main.cf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue