wiki:faq/email/filter-spam-webmail

Version 4 (modified by Daniel Kahn Gillmor, 16 years ago) ( diff )

--

Filter Spam using Horde/IMP or SquirrelMail

The same principle apply with slightly different specifics depending on whether you are using IMP/Horde or SquirrelMail.

With IMP/Horde (our default webmail program)

  • Log in to the webmail program
  • Select "Options" from the top Navigation Bar

Then under "Other Options" select "Filters".

  • Select "Apply filters when logging on." Click Save Options.
  • Click "Edit your filter rules."
  • Click New Rule
  • Name the rule: Filter out spam
  • Check the "All of the Following" radio buttons
  • Under "Select a field" choose "X-Spam-Flag"
  • Select "Contains" and type (exactly):

YES

  • Select "Deliver to folder" and either choose an existing folder (if you already have a spam folder) or Create new folder if you want to create one. We do not recommend sending spam to the trash folder, since our spam filters to occasionally make mistakes.
  • Click Save

IMP/Horde will now start sorting your spam. Don't forget to visit the spam box once a day to delete all the messages in there (or transfer any you may want to read to the In Box). That's why you created the folder. If you don't, the only option will be to delete the spam-tagged emails and then you won't have the option of searching them in case you suspect an email you want was filtered.

With SquirrelMail:

  • Log in
  • Select "Options" from the top Navigation Bar
  • click on "Mail Filters"
  • Leave the dropdown at "All Messages" (the default) and Click on "New".
  • In the MATCH dropdown menu, go to "Subject" and next to "Contains" write in
     *****SPAM*****
    
    Remember: copy it exactly with the five asterisks.

Then next to "Move To", scroll down to "INBOX.Trash"

  • Click Submit and you'll see the rule written out on the screen. The program will now filter your spam to the trash. Don't forget to go to the Trash folder everyday to delete messages. With Spam Assassin, that box is going to grow quickly.
Note: See TracWiki for help on using the wiki.