Spam Filtering Service
ISC Networking and Telecommunications offers a spam filtering service for all of its users. This email server serves users in the following domains:
Unsolicited e-mail that pitches products, goods, services, etc., can be considered spam. These messages can be quite annoying and many users would prefer not to see these messages in their Inbox. Users with accounts on the ISC Networking and Telecommuncations e-mail servers can opt to filter all incoming messages for spam. The spam filtering service uses SpamAssassin to filter incoming messages. Messages that are marked as spam are stored in a separate mail folder and are automatically deleted after 28 days by a nightly process. Messages stored in the spam folder should be regularly monitored as real mail may be incorrectly identified as spam. Once a message is deleted from the spam folder, it cannot be recovered.
If you wish to filter your mail for spam, you must opt into the service. Spam filtering is not automatically turned on. You can opt-in from the Account Services menu, authenticating yourself with your PennKey/password.
From the Spam Filtering menu, choose Opt-in/Opt-out and you will be presented with the following form option:
To opt-in to the spam filtering service, you must pick the level of filtering that will be applied to all incoming mail. Three levels of filtering are available: low, medium, high. The levels of filtering refer to the amount of filtering rules that will be applied. Low filtering means that a message must match more of the spam rules and less spam will be identified but less real mail will be incorrectly identified as spam. High filtering means that a message must match less of the spam rules and more messages may be identified as spam but this also increases your changes of real mail being identified as spam. We suggest that you start by using "low filtering". If you find that low filtering does not catch the kind of spam messages that you receive, switch to medium filtering. You can change your filtering level at any time.
If you have opted for spam filtering but find that you'd rather not have your mail filtered, choose No filtering from Opt-in/Opt-out form as described in the Opting In section above and that will opt you out of the service.
Once you have opted out of the service, there will be no more automatic maintenance of mail that has already been identified as spam. You must manually delete any unwanted messages from the spam filter folder as these messages do count towards your disk quota.
Maintenance of the spam filter folder
After opting into the service, messages that have been identified as spam will be stored in a separate folder in your Mail directory.
Example:This is a mail folder just like any other mail folder in your home directory and does count towards your disk quota. If your mail client can access other mail folders besides the main Inbox (unlike POP clients which can only access the main Inbox), you can access this folder with the mail client and maintain it like any other mail folder, deleting, forwarding, moving messages. The one difference is that we do have a nightly process that will automatically delete messages in this folder that are older than 28 days.
It is important that you monitor this folder since it is possible that real mail may be identified as spam if the real message has characteristics that match the spam filtering rules. If a message is older than 28 days and the nightly process deletes that message, it cannot be recovered.
Since the spam filter folder does count towards your disk quota, you may want to delete messages sooner than 28 days. You can use your mail client to manually delete messages from the spam filter folder or you can use the Spam Filtering menu option to Maintain spam filter folder.
To delete messages using your mail client, you'll need to change to the "caught-spam" mail folder first. If you are using Elm, please see full instructions for changing folders. If you are using Webmail, you are automatically subscribed to the "caught-spam" folder when you opt in and should be able to change to the "caught-spam" folder. Other IMAP clients will handle this "caught-spam" folder just like any other mail folder outside of the main inbox. How you access the "caught-spam" folder will depend on your IMAP mail client. POP mail clients cannot change mail folders. If you are using a POP mail client, you may want to consider using Webmail to view your "caught-spam" folder. A quick guide to managing your caught-spam folder through Webmail is available.
To delete messages using the Spam Filtering menu, choose Maintain spam filter folder and if you have a caught-spam folder, you will be presented with the following form option:
If you wish to delete all messages that are older than 21 days, choose "21" from the pull-down menu. Once the form is submitted, all messages older than 21 days will be deleted from the spam filter folder. Choosing to delete messages from this form will not affect the nightly process of deleting messages older than 28 days from the spam folder. The nightly process will continue to delete only messages that are older than 28 days.
Choosing "0" from the pull-down menu will delete all messages from the spam filter folder. Once again we must stress that once messages are deleted from the spam filter folder, they cannot be recovered. It is strongly recommended that you scan messages in the spam filter folder before opting to delete messages.
If you have setup a .forward in your home directory or have opted to forward your e-mail through Account Services and you are forwarding all of your mail to some other account, you will not be able to use spam filtering.
If you are forwarding a copy of your mail to another e-mail address and still want to keep a copy of your e-mail on the local server, you will be able to use spam filtering but you must set up your .forward with the proper syntax.
Your .forward file should include just your username without any hostname, then the list of address(es) to which you wish to send a copy of all of your e-mail. All addresses should be separated with commas. In the above "Correct" example, a copy of the mail will be delivered locally to joeuser's mailbox where it will then be filtered for spam and a copy of the mail will be forwarded unfiltered to email@example.com.
SpamAssassin mail headers
If you have chosen to filter your mail and you look at the full mail headers of your filtered messages, you will notice some additional mail headers will have been added to your messages.
Example of a message that is not considered spam:These extra mail headers may help to explain why a message was or was not tagged as spam and may help you to decide what level of spam filtering you may need.X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (22.214.171.124-2003-05-19-exp)
Following is an explanation of some of the tags in the spam mail headers.
Interaction with existing .procmailrc file
To implement spam filtering with Spam Assassin, the following statement is written to the .procmailrc file in your home directory
INCLUDERC=/usr/local/etc/filtering/spamfilter.levelwhere level is the filtering level that you have chosen. This INCLUDERC= statement implicitly calls SpamAssassin to filter your mail.
If you already have a .procmailrc file with existing Procmail recipes, the system will write the above statement to the top of the file so that spam filtering will be applied to all mail before any other filtering rule is used. If you decide to edit your .procmailrc file to change this behavior, please be aware that anytime you use the Spam Filtering menu, the system will again put this INCLUDERC= statement back to the top of your .procmailrc file to again force spam filtering as the first Procmail action.
Information Systems and Computing
University of Pennsylvania
Comments & Questions