How to move emails tagged by SpamAssassin to a particular folder?

Solution

Browsing through�your spam emails is extremely important, at time even the best Spam filtering software does have false positive. For non IMAP / Webmail users, in particular POP3 users, it is advisable to use your local mail client to filter the emails to a particular folder upon receiving. Note that performing the below mentioned steps will keep the Spam mails on the server which would be calculated towards your disk space quota.

Perform these steps in order to keep your Spam emails in a designated folder.

There are two different level of filtering:

  • Account Level Filtering
  • User Level Filtering

You will need to decide if you would like to filter your Spam emails for all users and have it kept in one directory, or filtering it only for an account. Non filtered Spam emails will contain ***SPAM*** in your Subject.

Before you begin, from your CPanel, navigate to Spam Assassin�, ensure that SpamAssassin is currently�Enabled and Spam Auto Delete is�Disabled.

From home, select either User Level Filtering or Account Level Filtering.
Note: For User Level Filtering, click on Manager Filters for your selected account.

Click "Create a new Filter" button, perform the following steps:

  1. Enter a unique name in the Filter Name field
  2. From Rules section, select�Subject in the first drop down box
  3. Select�contains
  4. Type�***SPAM*** in the third box
  5. From action section, select�Deliver to folder
  6. Type /home/username/mail/domainname.com/emailaccountusername/.Spam/
    Note: Replace username with your account username, domainname.com with your full domain name without www. and emailaccountusername without the @domainname.com.

Wait for a spam email to come in to verify it works.

For webmail�and IMAP users, you will need to manually subscribe to the folder.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Common Email Errors

Solution This are some of the common email problems user experience Problem: Incorrect...

How to troubleshoot my email problem?

Solution Here's a brief troubleshooting guide to setting up email. 99% of all email issues...

What are my email server information?

Solution Outgoing SMTP server: mail.yourdomain.com Incoming Mail server:...

My friend sent me an email but i do not receive it, what could have happen?

Solution You will need to check your email account free space available, in the event that the...