Add spam filtering for all users in Plesk

These two commands will enable SpamAssassin for all users on a Plesk 8 server:

# mysql -u admin -p`cat /etc/psa/.psa.shadow` psa
mysql> update mail set spamfilter = 'true' where postbox = 'true';
# /usr/local/psa/admin/bin/mchk --with-spam

Thanks to Sean R. for this one!

Printed from: http://rackerhacker.com/2007/07/29/add-spam-filtering-for-all-users-in-plesk/ .
© Major Hayden 2012.

1 Comment   »

  • Nick says:

    mchk is not present in plesk 9+ what can i do in plesk 10 to get this to work? I think it's absolutely stupid that I have to pay for an extra license to get an OPEN SOURCE application to work -__-

RSS feed for comments on this post

Leave a Reply

 

  • Welcome! I started this blog as a way to give back to all of the other system administrators who have taught me something in the past. Writing these posts brings me a lot of enjoyment and I hope you find the information useful. If you spot something that's incorrect or confusing, please write a comment and let me know. Drop me a line if there's something you want to know more about and I'll do my best to write a post on the topic.
    -- Major Hayden

    Flattr this