Computing and Networking Services American University of Beirut
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:
login to Heat

AUBnet SPAM Management Guide
for Pegasus 4.x

  1. 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:

    1. Start Pegasus Mail.
    2. Click on 'Tools' from the toolbar, then on 'Mail filtering rules'.
    3. Choose on 'Edit new mail filtering rules' .
    4. Click on 'Rules applied when folder is opened'.
    5. Click on 'Add rule' on the toolbar, then click on 'Headers'
    6. Select all checkboxes under 'if any of these headers' .
    7. Type in: *CNS-Detected SPAM* (with stars) in the empty field under 'contains this text'.
    8. Choose 'Move' next to  Action field.
    9. Click on 'Set...'.
    10. Click on the 'new' button in the newly opened window to create a new folder.
    11. Type 'Junk E-Mail' as a name for the folder in the white space and click on OK.
    12. Double click on the 'Junk E-Mail' folder you just created and click on OK.
    13. 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:

    1. Send a new message with your email account in the TO field.
    2. Ensure that you type "X-CNS-Detected-SPAM" in the Subject field. 
    3. 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. 

     

  2. 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:
    1. Open your ' Junk E-Mail' folder.
    2. Check through the messages for 'False Spam' messages.

      If you identify a 'False Spam' message
      1. Open the desired message.
      2. Choose'Raw View ', press 'Ctrl + A ' on your keyboard to select all the text then press ' Ctrl + C ' to copy the selected text.
      3. Minimize Pegasus mail Create a new text file on 'Desktop' then paste the selection from the previous step.
      4. Click on ' File ' menu in the toolbar then ' save '.

      To report a 'False Spam' message

      1. Start a new email message
      2. In the 'TO' line type: false-spam@aub.edu.lb
      3. In the 'Subject' line type: reporting false spam
      4. Attach the text file from the desktop.
      5. Write a covering note then send it.

      To recover a 'False Spam' message
      1. Open the  ' Junk E-Mail' folder.
      2. 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**

    1. Highlight all messages
    2. Press delete.

     

  3. 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:
  1. Click on 'Tools' from the toolbar, then on 'Mail filtering rules'.
  2. Choose on 'Edit new mail filtering rules' .
  3. Click on 'Rules applied when folder is opened'.
  4. Click on 'Add rule' on the toolbar, then click on 'Headers '
  5. Select all checkboxes under 'if any of these headers' .
  6. Type in: V.I.A.G.R.A in the empty field under 'contains this text'.
  7. Choose 'Move' next to  Action field.
  8. Click on 'Set...'.
  9. Click on the 'new' button in the newly opened window to create a new folder.
  10. Type 'Junk E-Mail' as a name for the folder in the white space and click on OK.
  11. Double click on the 'Junk E-Mail' folder you just created and click on OK.
  12. 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.

 

Last updated on June 22, 2004
Computing and Networking Services
American University of Beirut
Ext. 2260