Browsed by
Tag: #spamassassin

Blocking Mails Based on Subject in Zimbra

Blocking Mails Based on Subject in Zimbra

Welcome back! In this post, let’s talk about tightening our Antispam or Spamassassin in Zimbra. In real-time, there may be a┬áserious reason for filtering and blocking mails based on subject that contain certain structures or words. Here are the steps to achieve this objective in Zimbra 8.5 and later. 1) Create a policy file inside /opt/zimbra/data/spamassassin/rules/ as root user e.g. Here, SUB_ATTACHMENT is a rule that filters the mail header based on the regular expression match of Subject. The describe…

Read More Read More