• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Spamassassin and Plesk

tkalfaoglu

Silver Pleskian
Dear All,

Having installed and running Spamassassin successfully with Plesk integration, I was wondering if anyone has done some work towards deleting incoming email if the score exceeds some number.

I know Amavis can do that, but I was hoping for a quick hack to the shell that scans each incoming email..

Thanks!
-turgut
 
If you use ART's qmail-scanner package with SA, you can modify the file:

/var/qmail/bin/qmail-scanner-queue.pl

find the line my $sa_delete_site='0'
and modify it.
# st: Spam messages with a score higher than
# (required_hits + sa_delete) should be deleted (or rejected).
# Only relevant if SpamAssassin is used. Score of 0
# means deliver all messages. Defaults to 0.
# If sa-quarantine is set, sa-delete must be greater.
my $sa_delete_site='0';
(down around line 211)
 
Back
Top