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!

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/07/29/add-spam-filtering-for-all-users-in-plesk/ .
© Major Hayden 2010.

Leave a Reply