Author:
Nabil BuKhalid
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 Outlook 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 MS Outlook.
- Click on 'Tools' from the toolbar, then on 'Rules and Alerts'.
- Click on the 'New Rule' button to create a new rule.
- Click on 'Start from a blank rule' option.
- Highlight 'Check messages when they arrive' text.
- Click on 'Next' button.
- Locate 'with specific words in the message header' option and click on the check box next to it.
- Click on 'specific words' option in the lower panel
- Type in: X-CNS-Detected-SPAM
- Click the 'Add' button (the text will appear in the lower panel).
- Click OK then click 'Next'.
- Click on the 'Move it to the specified folder' check box.
- do not select 'Move a copy to the specified folder'.
- Click on the word 'specified' in the lower panel.
- Locate the "Junk E-Mail" folder and click on it.
- if the folder "Junk E-Mail" does not exist
- Click the 'New' button
- type "Junk E-Mail", click OK
- Click OK then click 'Finish' then OK again.
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 existing *CNS-Detected-SPAM* spam messages from your Inbox to the "Junk E-Mail" folder, by doing the following:
- Click on 'Tools' from the toolbar, then on 'Rules and Alerts'.
- Ensure that your "X-CNS-Detected-SPAM" rule is checked.
- Click on the 'Run now' button.
- Select the "X-CNS-Detected-SPAM" rule.
- Click on the 'Run now' button.
- When its finished - click 'Close' button then OK.
The marked spam messages should be moved to the "Junk E-Mail" folder.
- 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 headers for 'False Spam' messages.
If you identify a 'False Spam' message
- choose 'File' then 'Save as' option.
- drop the 'Save as type' list and choose the 'Message Format (*.msg)' format.
- Click on 'Desktop' then the 'Save' option.
To report a 'False Spam' message
- start a new Outlook email message
- in the 'To' line type: false-spam@aub.edu.lb
- in the 'Subject' line type: reporting false spam
- attach the message from the desktop.
- write a covering note then send it.
To recover a 'False Spam' message
- open the message from the desktop
- edit the subject lines of the 'False Spam' to remove the '*CNS-Detected SPAM*' text.
- save the edited message
- drag the recovered 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 'Rules and Alerts'.
- Click on the 'New Rule' button to create a new rule.
- Click on 'Start from a blank rule' option.
- Highlight 'Check messages when they arrive' text.
- Click on 'Next' button.
- Locate 'with specific words in the subject or body' option and click on the check box next to it
- Click on 'specific words' option in the lower panel
- Type in: V.I.A.G.R.A
- Click the 'Add' button (the text will appear in the lower panel).
- Click OK then click 'Next'.
- Click on the 'Move it to the specified folder' check box.
- do not select 'Move a copy to the specified folder'.
- Click on the word 'specified' in the lower panel.
- Locate the "Junk E-Mail" folder and click on it.
- if the folder "Junk E-Mail" does not exist
- Click the 'New' button
- type "Junk E-Mail", click OK
- Click OK then click 'Finish' then OK again.
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.
|