noir.crocodile.org spam filtering

noir.crocodile.org is offering spam filtering using Spam Assassin. By default it is not enabled on your account. To enable it you need to modify file .procmailrc in your home directory by adding following section:

:0fw
* < 1048576
| spamc
  

This rule will check all your incoming mail for spam, and will add X-Spam-Status: header to each message with value Yes or No to indicate if this message should be considered spam. It will check only messages shorter thatn 1Mb in size, to avoid system overload. It is not a problem, because most of the spam is shorter that that.

Now, you can filter your incoming mail based on this header in your mail client, by adding appropriate rule. If you wish to put spam in local folder, you can add following procmail rule:

:0:
* ^X-Spam-Status: Yes
mail/spam
  

Which will put all spam messages in mail/spam under your home directory on noir.

If you want to discard spam messages (and never see them), you can use following rule instead:

:0:
* ^X-Spam-Status: Yes
/dev/null
  

Please, note, that if you were using .forward you need to remove it. You can achieve same forwarding functionality by adding another rule at then end of your .procmailrc:

:0
! your@other.email.adress.here
  

For further informatioin on procmail, please refer to procmail(1), procmailrc(5) and procmailex(5) manual pages.

For further information on spam assassin (you can tune your individual spam filtering preferences), please refer to documentation section at Spam Assassin home page


Back to Crocodile Group WWW Server.


lord@crocodile.org