Zimbra 8.8.8 Blacklisting not working
Zimbra 8.8.8 Blacklisting not working
Hi Team,
I'm currently on Zimbra version 8.8.8_GA_2096.NETWORK, earlier I used domain blacklisting and I think it was working but with the current version the files have changed, I have followed the instructions here https://blog.zimbra.com/2017/09/block-i ... s-domains/ but when performing this operation there is an error, unable to modify attributes.
zimbra@zimbra:~/common/conf$ zmprov ms 'zimbrahost' +zimbraMtaSmtpdSenderRestrictions "check_sender_access lmdb:/opt/zimbra/common/conf/postfix_reject_sender"
ERROR: account.INVALID_ATTR_VALUE (invalid attr value: invalid attr value - unable to modify attributes: ldap host=zimbra.emeraldsystems.com:389: attribute 'zimbraMtaSmtpdSenderRestrictions' cannot have multiple values)
zimbra@zimbra:~/common/conf$
I'm currently on Zimbra version 8.8.8_GA_2096.NETWORK, earlier I used domain blacklisting and I think it was working but with the current version the files have changed, I have followed the instructions here https://blog.zimbra.com/2017/09/block-i ... s-domains/ but when performing this operation there is an error, unable to modify attributes.
zimbra@zimbra:~/common/conf$ zmprov ms 'zimbrahost' +zimbraMtaSmtpdSenderRestrictions "check_sender_access lmdb:/opt/zimbra/common/conf/postfix_reject_sender"
ERROR: account.INVALID_ATTR_VALUE (invalid attr value: invalid attr value - unable to modify attributes: ldap host=zimbra.emeraldsystems.com:389: attribute 'zimbraMtaSmtpdSenderRestrictions' cannot have multiple values)
zimbra@zimbra:~/common/conf$
Last edited by BharathS on Thu Dec 13, 2018 9:33 am, edited 1 time in total.
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Zimbra 8.8.8 Blacklisting not working
Hello,
try like this :
Regards,
try like this :
Code: Select all
zmprov ms $(zmhostname) zimbraMtaSmtpdSenderRestrictions "actual_value, check_sender_access lmdb:/opt/zimbra/common/conf/postfix_reject_sender"
Re: Zimbra 8.8.8 Blacklisting not working
Another option is if you are using the Zimbra Anti-Spam service, you can use the amavisBlacklistSender setting.
e.g.
zmprov md example.com +amavisBlacklistSender badspammer.org <<==note the use of the plus sign character
e.g.
zmprov md example.com +amavisBlacklistSender badspammer.org <<==note the use of the plus sign character
--
Rick King
Rick King
Re: Zimbra 8.8.8 Blacklisting not working
The command worked but even after postmaping it the blacklisting is not working
DualBoot wrote:Hello,
try like this :Regards,Code: Select all
zmprov ms $(zmhostname) zimbraMtaSmtpdSenderRestrictions "actual_value, check_sender_access lmdb:/opt/zimbra/common/conf/postfix_reject_sender"
Re: Zimbra 8.8.8 Blacklisting not working
How do i confirm if my zimbra is using anti-spam services? I know it has amavisd, clamav, spamassassin.king0770 wrote:Another option is if you are using the Zimbra Anti-Spam service, you can use the amavisBlacklistSender setting.
e.g.
zmprov md example.com +amavisBlacklistSender badspammer.org <<==note the use of the plus sign character
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Zimbra 8.8.8 Blacklisting not working
You can check the mail headers.
Re: Zimbra 8.8.8 Blacklisting not working
I can see amavisd is running, is there a documentation/article on this? is there any danger in running the above command?king0770 wrote:Another option is if you are using the Zimbra Anti-Spam service, you can use the amavisBlacklistSender setting.
e.g.
zmprov md example.com +amavisBlacklistSender badspammer.org <<==note the use of the plus sign character
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Zimbra 8.8.8 Blacklisting not working
No danger unless you blacklist a trusted domain.
If you need to rollback, just replay the command but instead of the plus use the minus.
If you need to rollback, just replay the command but instead of the plus use the minus.
Re: Zimbra 8.8.8 Blacklisting not working
Thanks, I have blacklisted the desired domains, now to observe the log and hoping this took care of blacklisting the sender domain.DualBoot wrote:No danger unless you blacklist a trusted domain.
If you need to rollback, just replay the command but instead of the plus use the minus.