> Привет!
>
> У меня рабоает FreeBSD+qmail+vpopmail... Спам определяется достаточно хорошо
>и появилось желание его удалять. Точнее все, что определилось как *******
>SPAM, удалялось бы автоматом.
> Подскажите как это лучше всего сделать.
ну и доки
тоже рулят:
их читали ?
Can I delete e-mails that Spamassassin labels as spam?
Yes. Edit the /var/qmail/bin/qmail-scanner-queue.pl file and find the following line:
my $sa_delete='0';
Now replace the '0' with a number that represents how far above your SpamAssassin "required_hits" variable that Qmail-scanner should start deleting messages at. For example, if you SpamAssassin required_hits variable is set to "5" and you set the "sa_delete" variable to "1.0", then any message that has a spam score of 1.0 over the "5" mark would be deleted. In other words, any mail with a score of 6 or more would be trashed automatically. So for this example, you would change the "sa_delete" variable as follows:
my $sa_delete='1.0';
Is is safe to tell qmail-scanner to delete e-mails that SpamAssassin marks as spam?
Spamassassin has been tested to have up to a 99% accuracy rating in terms of detecting real spam and leaving legitimate e-mail alone. I've been using it for over a year now and have never gotten a false positive. Therefore, I feel safe in telling it to just delete the stuff.
There are a host of other Spam and Virus handling directives that can be customized with the qmail-scanner.pl file. You can check out the qmail-scanner patch website at http://xoomer.virgilio.it/j.toribio/qmail-scanner/ for all the details.
Other than that, I left my qmail-scanner-queue.pl script as is.