Most email clients allow rules or filters to be created. These typically come into action when one or more events occur, such as receiving new email, reading email, and sending email. For spam to be removed from the inbox automatically, the rule should run when new email is retrieved.
Rules act on the value of a header. If the email client allows rules to run based on the value of a specific header, then it is best to use the X-Spam-Status:
header, and search for the value Yes
.
The procedure for moving tagged email messages into a separate folder is outlined below:
1. Create a folder (or mailbox) for holding spam email. The folder name should be intuitive, for example,
Spam
.2. Create a rule to be executed when emails arrive. The rule should look for the text
X-Spam-Status: Yes
in the message header. Check the text for a real spam message and use that, if it is different from the text shown here.3. The action on the rule should be to move the message to the spam...