You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Starckjohann, Ove" <st...@norddeutsche.de> on 2007/08/07 15:07:23 UTC

more verbose logging of spamd ?

Hi!

We're using spamd on Debian Sarge.

Logging in /var/log/mail.log looks like:

Aug  7 14:49:35 admin05 spamd[31778]: spamd: result: Y 29 -
BAYES_99,DATE_IN_FUTURE_03_06,FB_B0NUS,HTML_10_20,HTML_MESSAGE,MIME_BASE
64_NO_NAME,MIME_BASE64_TEXT,MIME_HTML_ONLY,RAZOR2_CF_RANGE_51_100,RAZOR2
_CF_RANGE_E8_51_100,RAZOR2_CHECK,SARE_OBFU_ONLINE,TVD_RCVD_SPACE_BRACKET
,UNPARSEABLE_RELAY,URIBL_BLACK,URIBL_SBL
scantime=5.2,size=9147,user=(unknown),uid=1002,required_score=5.0,rhost=
gateway01.yesweare.de,raddr=10.10.10.21,rport=61256,mid=<88C31C20.DFCCD3
37@gaynet.ch>,bayes=1,autolearn=spam



Is it possible to make the logging more verbose and to add the scores
beside the names like it is done my mailscanner on another machine?

Aug  7 14:39:58 vs8716 MailScanner[24353]: Message 54E62C547.49E56 from
81.28.224.19 (hhaehyruhw@rricon.co.nz) to murum.de is spam, SpamAssassin
(not cached, score=17.149, required 5, DCC_CHECK 1.37, DRUGS_ERECTILE
0.10, DRUGS_STOCK_MIMEOLE 2.00, DRUG_ED_CAPS 0.35, HTML_FONT_BIG 0.26,
HTML_MESSAGE 0.00, HTML_MIME_NO_HTML_TAG 0.51, LOGINHASH1 1.50,
LOGINHASH2 1.50, MIME_HTML_ONLY 0.00, RCVD_IN_BL_SPAMCOP_NET 1.33,
SARE_SXLIFE 0.61, URIBL_BLACK 3.00, URIBL_OB_SURBL 2.62, URIBL_SBL 1.09,
URIBL_SC_SWINOG 0.90)


I had a look into SPAMDOPTIONS...but did not find a solution to log the
scores too....

Any hints ?

Ove Starckjohann


Re: more verbose logging of spamd ?

Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, Aug 07, 2007 at 03:07:23PM +0200, Starckjohann, Ove wrote:
> Is it possible to make the logging more verbose and to add the scores
> beside the names like it is done my mailscanner on another machine?

There is no verbosity option for the logging, you get what you get.  So you
could change it via modifying the code, but that's it.  FWIW, the output
format is specifically the same as that from mass-check, btw.

-- 
Randomly Selected Tagline:
"It's nice to make things easy.. except when it comes to making it easy for
 someone to shoot themselves in the foot by leading them to do something
 they don't understand the implications of."
 - Matt Kettler in <5....@xanadu.evi-inc.com>