Spamassassin and Spam prevention improvement

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
coolemail
Forum Regular
Forum Regular
Posts: 369
Joined: Tue Dec 16, 2008 8:01 am
Location: United Kingdom

Re: Spamassassin and Spam prevention improvement

Unread post 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?
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: Spamassassin and Spam prevention improvement

Unread post 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.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Spamassassin and Spam prevention improvement

Unread post 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:

Code: Select all

rpm -ql packagename
Lemonbit Internet Dedicated Server Management
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Spamassassin and Spam prevention improvement

Unread post 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.
Lemonbit Internet Dedicated Server Management
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Re: Spamassassin and Spam prevention improvement

Unread post 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.
Post Reply