Due to popular demand (many would say necessity), UCO/Lick has filters in-place as part of our e-mail service. The objective of this filter system is to remove two types of mail: unsolicited bulk mail (spam), and mail containing a virus. Our system uses Postfix as the primary mail service, with spam scanning provided by dspam, and virus scanning from ClamAV.

With this webpage, we hope to answer most of your questions about the filters in place on our mail system. The most critical thing that you, the UCO/Lick mail user, need to be aware of is that no system is perfect: while we filter out some 95% of incoming spam, and 99% of incoming viruses, no system will ever reach 100% effectiveness. If you have question that are not covered in this document, please contact, as always, nics@ucolick.org.

What does the server do automatically?

There are three things that the server may do to an incoming message: reject it, store it as "maybe" spam, or deliver the message to your inbox.

In what circumstances will the server reject a message?

Is there anything else that would cause a message to not be delivered locally?

If the incoming message does not trigger any of the above actions, the message may still get filtered as being spam.

How does the UCO/Lick spam filter work?

If a message hasn't run astray by now, it will be delivered to your inbox, after going through your personal procmail configuration. See below for more information on procmail.

Can I modify the spam filter for my personal e-mail?

The best way to update your spam filter is to train it regularly with any missed spam/ham messages (see above). Any additional filtering has to happen either via procmail, or in your mail client (such as Thunderbird).

We encourage you to use the system-wide spam filter instead of using any local client-side "junk mail" features. While the spam filters in some mail clients can be quite good, they are not as effective as the system-wide filter. Some of our users receive more than 2,000 spam messages per day, and the system-wide filter catches all but one or two per day.

We strongly discourage using the system-wide filter in conjunction with any spam filters on your local mail client. Either opt out of the system-wide filter, or disable your client-side junk mail feature. Using two filters that perform essentially the same type of filtering will eventually result in both filters being less effective than either one would be individually.

How can I configure my mail client to automatically hide/remove any filtered spam?

In a departure from previous systems, our new spam filtering system will automatically hide any messages that are classified as spam. If you receive spam messages in your inbox, you should re-train the spam filter as explained above.

How do I opt out of using the UCO/Lick spam filter?

Log onto any NICS-managed UNIX host, and do:

cd /home/public/username
touch .spam.to.inbox

This will cause any messages flagged as spam by dspam to be delivered to your inbox instead of your spam box. This is especially important to do if you are planning to use a client-side junk mail feature instead of our system-wide filter, but be aware that the system-wide filter will continue to insert information in your e-mail headers about its opinion of the message.

How do I configure procmail?

Procmail is enabled by default for all users, though you do not need to configure it unless you are interested in doing so. The default procmail behavior is to perform no additional filtering.

The configuration file that procmail will read when delivering your e-mail is /home/public/username/.procmailrc. This file is only read for messages that are not identified as spam; spam is delivered via an alternate mechanism that usurps your personal procmail configuration. There are a few short examples and pointers in the default file, but more advanced recipes are beyond the scope of both our default file and this document. For more information about procmail, an excellent place to start is the procmail FAQ, and follow the links at the end of their FAQ if you have further questions. Here's a mirror for the FAQ in case the previous link is busted. There's also all kinds of excellent procmail information over at Infinite Ink.

You can also contact NICS if you have questions about procmail, we use it fairly extensively.

Answers/Mail/Filtering (last edited 2008-04-11 18:16:04 by ChrisMartell)