| EnServe Guides |
|
How To... |
|
Filter Spam AutomaticallyWhen the system processes your mail it will check for Spam. If it finds any (with version 2.63 of SpamAssassin) it will add some addition text and then deliver it to your mailbox. You can setup your mail client, in this example, I will use Outlook Express (version 5 and 6) to 'Filter' the mail automatically and move it to a 'Spam' folder. You can then check it as time permits. SpamAssassin does add some 'Headers' to the mail to indicate Spam, unfortunately, Outlook Express does not have the ability to act on them. Other mail client may be able to and in that case you should filter on 'X-Spam-Flag: YES' as this is a better test. An example is shown later.
Outlook ExpressTools -> Messages Rules -> Mail -> New
In Box 1 (What to look for in the mail)
In Box 2 (What to do with it)
In Box 3 (Specific details)
In Box 4 (What to call the rule)
The above assumes, if, the text 'Spam detection' (added by the system) is present and the message contains an attachment then it will be tagged Spam. This is open to 'false positives', that is if someone mails you a genuine message meeting the criteria then it will be marked. There is no easy way to avoid that with Outlook Express.
Using the Mail Headers is much more reliable. In this example, we will use this header to accurately check the Spam Status.
Netscape Mail (Version 7.1)Tools - Message Filters - New
There are a couple of Unix mail delivery options (deliver and procmail) that can perform the same actions as above and move the received mail to spam folders automatically. Please contact us if you would like details of mail filtering on the host rather than the client.
|