RE: Spamassassin detailed log entries

2006-10-19 Thread Fabien GARZIANO

 De : Bowie Bailey Envoyé : mercredi 18 octobre 2006 18:17
 What I do is this:
 
   add_header all Report _REPORT_
 
 This gives me the detailed X-Spam-Report header listing the 
 scores, rule names, and rule descriptions.

Thanks for the answer. I've tried most add_header options (like all or 
_TESTSSCORES(,)_, the mail headers are the way I want them. But I can't get 
the same modifications in the maillog file. This is for my qmail/spamassassin 
V3.1.6 setup. I also got a MailScanner/postfix/spamassassin V3.0.5 and the log 
file (/var/log/maillog) contains TESTS triggered + SCORES. 

 De : Theo Van Dinter 18 octobre 2006 16:44 
 I cant find how to ask spamassassin (spamd in my case) to write 
 detailed score in my log files.
 There's currently no way to modify the log output from a config 
 file.  You'd have to modify the spamd code to change its 
 log output.

So if I understand, in my MailScanner setup (where the log is perfectly what I 
need), it's not spamassassin that write the logs this way but MailScanner ? 


RE: Spamassassin detailed log entries

2006-10-19 Thread Bowie Bailey
Fabien GARZIANO wrote:
  De : Bowie Bailey Envoyé : mercredi 18 octobre 2006 18:17
  What I do is this:
  
  add_header all Report _REPORT_
  
  This gives me the detailed X-Spam-Report header listing the
  scores, rule names, and rule descriptions.
 
 Thanks for the answer. I've tried most add_header options (like all
 or _TESTSSCORES(,)_, the mail headers are the way I want them. But
 I can't get the same modifications in the maillog file. This is for
 my qmail/spamassassin V3.1.6 setup. I also got a
 MailScanner/postfix/spamassassin V3.0.5 and the log file
 (/var/log/maillog) contains TESTS triggered + SCORES.   

Glad to help.
  
  De : Theo Van Dinter 18 octobre 2006 16:44
  I cant find how to ask spamassassin (spamd in my case) to write
  detailed score in my log files.
  There's currently no way to modify the log output from a config
  file.  You'd have to modify the spamd code to change its
  log output.
 
 So if I understand, in my MailScanner setup (where the log is
 perfectly what I need), it's not spamassassin that write the logs
 this way but MailScanner ?  

Exactly.  Generally, if there is wrapper program (such as mailscanner
or amavisd), it will do the logging rather than SA.

-- 
Bowie


Re: Spamassassin detailed log entries

2006-10-18 Thread Theo Van Dinter
On Wed, Oct 18, 2006 at 04:40:45PM +0200, Fabien GARZIANO wrote:
 I cant find how to ask spamassassin (spamd in my case) to write detailed
 score in my log files.

There's currently no way to modify the log output from a config file.  You'd
have to modify the spamd code to change its log output.

-- 
Randomly Selected Tagline:
Look both ways before you cross the network.


pgpcHzyNs1m9U.pgp
Description: PGP signature


RE: Spamassassin detailed log entries

2006-10-18 Thread Bowie Bailey
What I do is this:

add_header all Report _REPORT_

This gives me the detailed X-Spam-Report header listing the scores,
rule names, and rule descriptions.

Bowie

Fabien GARZIANO wrote:
 Thanks for the answer Theo.
 I think I was not clear enough in my first message. What I'm looking
 for is how to have a detailed score for each rule for each message,
 even if not flaged as spam. I know it's possible cause I got it
 working in some other site. Right after sending my first mail here,
 I've foudn something in /usr/share/spamassassin/10_misc.cf in which I
 could include the TAG I'm tinking it fits my needs ... add_header all
 Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS(,)_
 autolearn=_AUTOLEARN_ version=_VERSION_  
 
 I've tried replacing _TESTS(,)_ with _TESTSSCORES(,)_ , restart spamd
 (I use svc daemon tools) but nothing changed in my log file. 
 
 I use :
 SpamAssassin version 3.1.6
   running on Perl version 5.6.1
 
  -Message d'origine-
  De : Theo Van Dinter [mailto:[EMAIL PROTECTED]
  Envoyé : mercredi 18 octobre 2006 16:44
  À : users@spamassassin.apache.org
  Objet : Re: Spamassassin detailed log entries
  
  On Wed, Oct 18, 2006 at 04:40:45PM +0200, Fabien GARZIANO wrote:
   I cant find how to ask spamassassin (spamd in my case) to write
   detailed score in my log files.
  
  There's currently no way to modify the log output from a
  config file.  You'd have to modify the spamd code to change
  its log output.