Support / KnowledgeBase

 
Search the KnowledgeBase Search

Add SpamAssassin filtering for all Plesk users

  • Applies to: All (dv)

  • Difficulty: Easy

  • Time needed: 5 minutes

  • Tools needed: None

 

This article will show you how to enable SpamAssassin filtering for all plesk users.

NOTE:

For other handy tips like this one you should visit pleskhacker.com.  This website is not affiliated with (mt) Media Temple, and we take no responsibility for the information posted on their site.

WARNING:

The following guide shows how to access the Plesk database directly. It is strongly suggested that you only follow this guide if you have backed up your (dv) service, and have complete confidence in working with Plesk and MySQL.

  1. Login via SSH as the root user:
  2. Access MySQL as the root user:

    my 
  3. Tell MySQL you want to use the Plesk Database:
    
    use psa; 
  4. Provide the following MySQL query to enable SpamAssassin filtering for all domains:
    UPDATE mail SET spamfilter = 'true' WHERE postbox = 'true'; 
  5. To quit MySQL simply type exit.
  6. Rewrite the mail configuration files:
    /usr/local/psa/admin/bin/mchk --with-spam

Notes/Resources

Revisions:

01-22-2009: Article Creation

User Comments

No visitor comments posted. Post a comment

Fields marked with an asterisk(*) are required. Comment on this article

Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue