Blocking spams for hosted zimbra

  • hello

    ZIMBRA email server is hosted and spams just keep coming.

    How can we block spams. Could we use pfblockerng? or what is best for this?

    Many thanks

  • Moderator

    Zimbra uses Postfix, so your first step is to use DNSRBLs. Your biggest bang would be to add Spamhaus Zen.

    You can run the following command to see what restrictions have been configured:

    zmprov gacf | grep zimbraMtaRestriction

    Recommend the following settings:

    zimbraMtaRestriction: reject_invalid_hostname
    zimbraMtaRestriction: reject_non_fqdn_hostname
    zimbraMtaRestriction: reject_non_fqdn_sender
    zimbraMtaRestriction: reject_unknown_client
    zimbraMtaRestriction: reject_unknown_hostname
    zimbraMtaRestriction: reject_unknown_sender_domain
    zimbraMtaRestriction: reject_rbl_client
    zimbraMtaRestriction: reject_rbl_client
    zimbraMtaRestriction: reject_rbl_client
    zimbraMtaRestriction: reject_rhsbl_client
    zimbraMtaRestriction: reject_rhsbl_reverse_client
    zimbraMtaRestriction: reject_rhsbl_sender

    For pfBlockerNG, I wrote a script to import over 50 Blocklists here:

    It has a MAIL section which will also help reduce SPAM.

Log in to reply