<SOLVED> Unable to block an entire domain with Zimbra 8.7

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
przef
Posts: 2
Joined: Wed May 16, 2018 7:08 am

Re: <SOLVED> Unable to block an entire domain with Zimbra 8.7

Post by przef »

Hello,
problem solved for me. I had to edit file in /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf and modify patch to postfix_reject_sender:

Code: Select all

%%exact VAR:zimbraMtaSmtpdSenderRestrictions reject_authenticated_sender_login_mismatch%%
%%contains VAR:zimbraMtaSmtpdSenderRestrictions check_sender_access lmdb:/opt/zimbra/common/conf/postfix_reject_sender%%
%%contains VAR:zimbraServiceEnabled cbpolicyd^ check_policy_service inet:localhost:%%zimbraCBPolicydBindPort%%%%
%%contains VAR:zimbraServiceEnabled amavis^ check_sender_access regexp:/opt/zimbra/common/conf/tag_as_originating.re%%
permit_mynetworks
permit_sasl_authenticated
permit_tls_clientcerts
reject_sender_login_mismatch
%%contains VAR:zimbraServiceEnabled amavis^ check_sender_access regexp:/opt/zimbra/common/conf/tag_as_foreign.re%%
Maybe i have made some mistakes before, because I used various tutorials where the path to "postfix_reject_sender" was wrong, but now it works.
markoh
Posts: 1
Joined: Mon Jun 03, 2019 4:14 pm

Re: <SOLVED> Unable to block an entire domain with Zimbra 8.7

Post by markoh »

Work for me too, thks!! :D
Post Reply