Mail arriving at Imperial is passed through a spam analyser before it reaches the central MS Exchange servers. The analyser (Spam Assassin version 2.60) examines the envelope, the mail headers and body content of every message, applying several hundred tests to rate the likelihood of the message to contain spam (otherwise known as UCE, or Unsolicited Commercial Email). It then inserts the results of its analysis into the the mail header, a part of the mail message that is normally hidden to users and contains important information about the message that is used by mail software to route the message to its destination.
Many mail clients will allow you to set up filters or rules to intercept incoming mail and process them according to a defined set of actions and pine is no exception.
and press return to confirm the name of your new rule.
pine will now detect any messages whose X-Spam-Status flag is set to 'yes' and automatically move the message to the 'spam' folder. Once you are sure that the system is correctly detecting and removing spam from your inbox, you can if you wish return to the pine rules configuration menu and change the filter action so that it deletes all messages marked as spam:
Andy Thomas
UNIX/Linux support,
Faculty of Natural Sciences
last updated: 11.5.2021