« checking for exploits on a server: my first bash script. | Main | a bash script to delete files older than 7 days. »

disabling spamassassin in plesk for individual mailboxes.

today, i got a complaint from a user who didn't like spam headers in his email. since spamassassin is the only spam-filtering addon installed on our servers, i knew that the best solution would be to disable spamassassin altogether for this particular email address.

the Plesk GUI, unfortunately, doesn't make that easy. fortunately, with versions of plesk 7.5.3 and up, you can do it on the command-line as such:

# /usr/local/psa/bin/spamassassin.sh --update email@domain.com -status false

this completely disables the spamassassin addon for this email address and eliminates all spam headers. while that is not what people nowadays want, it's exactly what this guy wanted, and it works.

TrackBack

TrackBack URL for this entry:
http://www.ramblingsofasysadmin.com/cgi-bin/mt/mt-tb.cgi/15

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)