Author:
Charles Seferian
Computing & Networking Services,
American University of Beirut

Links:
- Create rule
- Managing Junk E-Mail
- Personalized mail filter
- AUBnet against spam

Contact:
CNS.Helpdesk
West Wing, Van Dyck Hall,
Ext. 2260

CNS HelpDesk Pages
Students
Faculty
Staff
CNS Self Service Support:

|
- How to automatically move *CNS-Detected SPAM* messages to the "Junk E-Mail" folder?
Email messages that come from the Internet via AUBnet central mail hubs will be scanned by an anti-spam filtering system (SpamAssassin). The filters work by looking for specific characteristics, and assigning a positive or negative 'score' value to each one encountered. At the end, a message's total score is compared to a threshold value. If the score is above a certain level, the message will be classified as spam and will be marked with "X-CNS-Detected-SPAM" signature in the message header and *CNS-Detected SPAM* in the subject before being delivered to the recipient Inbox.
You can set up a simple 'rule' in Pegasus to automatically move on receipt all *CNS-Detected SPAM* messages to a "Junk E-mail" folder. You will then be able to check that folder for 'false spam' before deleting all the spam messages.
To filter all *CNS-Detected SPAM* messages and move them to the "Junk E-Mail" folder do the following:
- Start Pegasus Mail.
- Click on 'Tools' from the toolbar, then on 'Mail filtering
rules'.
- Choose on 'Edit new mail filtering rules' .
- Click on 'Rules applied when folder is opened'.
- Click on 'Add rule' on the toolbar, then click on 'Headers'
- Select all checkboxes under 'if any of these headers' .
- Type in:
*CNS-Detected SPAM* (with stars)
in the empty field under 'contains this text'.
- Choose 'Move'
next to Action field.
- Click on 'Set...'.
- Click on the 'new' button in the newly opened window to
create a new folder.
- Type 'Junk E-Mail' as a name for the folder in the
white space and click on OK.
- Double click on the 'Junk E-Mail' folder you just created and click on OK.
- Click on 'Save'
button in the toolbar to save your filter, then click on 'Close' to
close it..
The rule will start sending all new messages marked with "X-CNS-Detected-SPAM" to the "Junk E-Mail" folder.
Notice: The rule is set to trap "X-CNS-Detected-SPAM" in the message header rather than trapping '* CNS-Detected SPAM*' in the subject. This is deliberate to allow the recipient to reply to and forward marked spam messages. If instead of that the filter was set to trap '*CNS-Detected SPAM*' from the message subject, replies and forwards would be trapped and moved into the spam "Junk E-Mail" folder.
You can test the filter and move newly received *CNS-Detected-SPAM* spam messages to the "Junk E-Mail" folder, by doing the following:
- Send a new message with your email account in the TO field.
- Ensure that you type "X-CNS-Detected-SPAM" in the Subject field.
- When you receive the message, open the Junk E-Mail mailbox and the
message should be automatically transferred to this location with all previous
messages that contain "X-CNS-Detected-SPAM" in the Subject field.
- Managing the "Junk E-Mail" folder
Although CNS carefully tuned SpamAssassin to detect Spam while allowing genuine messages through, occasionally it may wrongly mark a genuine message as Spam. Messages marked as Spam that are not Spam are called 'False Positive' or 'False Spam'.
You can report 'False Spam' to a special address false-spam@aub.edu.lb where the messages will be checked and added to a 'White List'. CNS will exercise due efforts to process the request within 2 working days and will notify the requester accordingly.
You can recover 'False Spam' messages and report them to CNS to be added to the 'White List' by doing the following:
- Open your ' Junk E-Mail' folder.
- Check through the messages for 'False Spam' messages.
If you identify a 'False Spam' message
- Open the desired message.
- Choose'Raw View ',
press 'Ctrl + A ' on your keyboard to select all the text then press
' Ctrl + C ' to copy the selected text.
- Minimize Pegasus mail Create a new text file on 'Desktop' then paste the selection from
the previous step.
- Click on ' File ' menu in the toolbar then ' save '.
To report a 'False Spam' message
- Start a new email message
- In the 'TO' line type: false-spam@aub.edu.lb
- In the 'Subject' line type: reporting false spam
- Attach the text file from the desktop.
- Write a covering note then send it.
To recover a 'False Spam' message
- Open the ' Junk E-Mail' folder.
- Drag the required messages to your inbox.
You can delete SPAM messages from the "Junk E-Mail" folder by doing the following:
**Check your messages to make sure that they are all really spam**
- Highlight all messages
- Press delete.
- How to add a personalized mail filter?
To add a filter for .V.I.A.G.R.A. and move the messages to the "Junk E-Mail" folder do the following:
- Click on 'Tools' from the toolbar, then on 'Mail filtering
rules'.
- Choose on 'Edit new mail filtering rules' .
- Click on 'Rules applied when folder is opened'.
- Click on 'Add rule' on the toolbar, then click on 'Headers
'
- Select all checkboxes under 'if any of these headers' .
- Type in:
V.I.A.G.R.A
in the empty field under 'contains this text'
. - Choose 'Move'
next to Action field.
- Click on 'Set...'.
- Click on the 'new' button in the newly opened window to
create a new folder.
- Type 'Junk E-Mail' as a name for the folder in the
white space and click on OK.
- Double click on the 'Junk E-Mail'
folder you just created and click on OK.
- Click on 'Save' in
the toolbar to save your filter, then click on 'Close' to
close it..
The rule will start sending all new messages with .V.I.A.G.R.A. to the "Junk E-Mail" folder.
You can be creative and develop quite complex filters and apply them to your inbox.
|