Have been following this page
but it's not helping. Previously I used to edit /opt/zimbra/conf/postfix_recipient_restrictions and add a line as such:
in this file, I would put something like this:
then I would never receive such emails. According to the above link, it is to go in /opt/zimbra/conf/zmconfigd/smtpd_sender_restrictions.cf but it doesn't work. I then get an error and cannot send/receive any emails whatsoever. Even if I put in smtpd_recipient_restrictions.cf the result is the same.
How can I now block domains, because I'm continually getting the emails, irrespective of sending it constantly to the spam folder. And I've already edited sausers.cf to deal with higher scoring of spam etc.
I want to be able to blacklist the domain manually.