Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] SpamAssassin: Getting list of triggered rules?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
synt4x
n00b
n00b


Joined: 20 Jun 2005
Posts: 46

PostPosted: Wed Jan 25, 2006 3:36 pm    Post subject: [SOLVED] SpamAssassin: Getting list of triggered rules? Reply with quote

I recently migrated my mail server to a Qmail/Vpopmail/SpamAssassin installation. In my previous dabbles with SA (in the 2.0 days) it would insert headers listing which rules have been triggered on a particular message. This was really useful, as it allowed me to be fine tune my own settings, and to also know (when writting a PHP script) how to craft the message to keep it from unnecessarily trigger rules. Currently this is the only SpamAssassin related headers I get:

Code:
Received: from 207.235.15.88 by rackspace (envelope-from <continentalairlines@continental.com>, uid 201) with qmail-scanner-1.25st
 (clamdscan: 0.88/1248. spamassassin: 3.1.0. perlscan: 1.25st. 
 Clear:RC:0(207.235.15.88):SA:0(-2.6/7.5):.
 Processed in 1.772718 secs); 24 Jan 2006 23:09:09 -0000
X-Spam-Status: No, hits=-2.6 required=7.5


So -- is it still possible to get the list of triggered rules and their values, and what flag/setting do you turn on to do this? I've looked through the perldoc for it and their website and wiki without any luck. Googling for things like "spamassassin rules headers" is so broad I never get any close results.

qmail-scanner was stripping this out. To have it in the mail message itself, change this option in /var/qmail/bin/qmail-scanner-queue.pl:
Code:
my $sa_debug='1';
my $sa_hdr_report_site='1';


Last edited by synt4x on Wed Jan 25, 2006 9:41 pm; edited 2 times in total
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Jan 25, 2006 8:14 pm    Post subject: Reply with quote

A quick search located this http://sylvestre.ledru.info/howto/howto_qmail_spamassassin.php
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum