On 01/13/2010 07:22 PM, tonjg wrote:
I'm a newbie to spamassassin, I installed it today on a raq550 running strongbolt2 which uses sendmail v8.22. I see that spam's are now being labelled [SPAM] in the subject line but what I want to do is block those emails from getting to my inbox. What's the next step to refecting those emails? Note: I don't want to delete them or divert them to another folder, I'd like to reject them in the same way the dnsbl lists do. thanks for any advice.
SpamAssassin doesn't do anything to mail apart from label it - that's all it does.
If you want something to delete/quarantine mail based on SpamAssassin's score, then you need a separate application to do that.
Furthermore, you can't (or rather shouldn't) reject mail once you've accepted it and scanned it with SA, as you'll likely be sending the bounce to a forged (innocent) sender address (this is called backscatter), at which point you are now part of the problem, not part of the solution. So simply delete (redirect to /dev/null) any mail you don't want or quarantine it.
If you want to reject mail, do it at the smtp stage in sendmail as you do with dnsbl lists.
Hope that helps.