Page 2 of 2
Re: Spamassassin and Spam prevention improvement
Posted: Tue Oct 05, 2010 3:52 pm
by coolemail
I'm more than happy seeing them in the maillog only, but entries on ours just show the rule and not the score allocated to each. How do we get it to show the score?
Re: Spamassassin and Spam prevention improvement
Posted: Tue Oct 05, 2010 4:16 pm
by faris
Ah. Sorry. Yes, no individual scores are shown. I misunderstood.
You can process an email using "spamassassin -D < name-of-email-file" to see all the details if you want to check an individual email, but that's a bit of an annoying thing to have to do more than occasionally.
Faris.
Re: Spamassassin and Spam prevention improvement
Posted: Tue Oct 05, 2010 5:04 pm
by breun
faris wrote:This is the problem when you use an RPM - it puts things in various places and you don't necessarily know where.
Actually, using RPM makes this easy. You can ask rpm for a listing for a package's files:
Re: Spamassassin and Spam prevention improvement
Posted: Tue Oct 05, 2010 5:06 pm
by breun
coolemail wrote:I'm more than happy seeing them in the maillog only, but entries on ours just show the rule and not the score allocated to each. How do we get it to show the score?
You'll need to switch SpamAssassin to debug mode. Performance won't be as good. See /etc/qmail-scanner.ini for the options (SA_ALT and SA_DEBUG, I believe) and don't forget to run qmail-scanner-reconfigure after modifying qmail-scanner's settings.
Re: Spamassassin and Spam prevention improvement
Posted: Wed Oct 06, 2010 1:43 am
by biggles
Or look it up manually.
http://spamassassin.apache.org/tests_3_1_x.html If you have changed your scoring in local.cf you will get different results, but thats expected, isn't it?
But enabling SA_ALT and SA_DEBUG as breun suggests makes it automatic, but slow. You will then get all the scoring in the e-mail source.