On Tue, Apr 25, 2006 at 10:59:07AM -0400, Matt Kettler wrote:
> Igor Chudov wrote:
> > Spamd outputs the following into syslog:
> > 
> > Apr 25 09:42:30 ak74 spamd[1703]: spamd: connection from 
> > localhost.localdomain [127.0.0.1] at port 60902
> > Apr 25 09:42:30 ak74 spamd[1703]: spamd: processing message <[EMAIL 
> > PROTECTED]> for root:500
> > Apr 25 09:42:30 ak74 spamd[1703]: spamd: clean message (-1.4/5.0) for 
> > root:500 in 0.1 seconds, 738 bytes.
> > Apr 25 09:42:30 ak74 spamd[1703]: spamd: result: . -1 - ALL_TRUSTED 
> > scantime=0.1,size=738,user=root,uid=500,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=60902,mid=<[EMAIL
> >  PROTECTED]>,autolearn=disabled
> > Apr 25 09:42:30 ak74 spamd[8267]: prefork: child states: II
> > 
> > Out of all that, the only message that I want to see is:
> > 
> > Apr 25 09:42:30 ak74 spamd[1703]: spamd: result: . -1 - ALL_TRUSTED 
> > scantime=0.1,size=738,user=root,uid=500,required_score=5.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=60902,mid=<[EMAIL
> >  PROTECTED]>,autolearn=disabled 
> > 
> > I know that the flag is -D and that I have to pick the "channels" that
> > I am interested in, but the spamd man page does not explain which
> > ones stand for what. Anyone knows? Thanks!!!
> 
> 
> No.. -D will make your problem WORSE. This turns on the debug output, in
> addition to the regular stuff. You definitely don't want that.
> 
> (try running spamassassin --lint -D for a sample of what the debug output 
> looks
> like)
> 
> So as for your problem.. What version of SA are you running?
> 
> The "processing message" bit concerns me, because that message was only in the
> code for SA 2.40-2.44.

~==>spamd --help 2>&1 | head
SpamAssassin Server version 3.1.1
  running on Perl 5.8.8
  with SSL support (IO::Socket::SSL 0.97)

For more details, use "man spamd".

Usage:
    spamd [options]

~==>whereis spamd
spamd: /usr/bin/spamd /usr/share/man/man1/spamd.1 /usr/share/man/man1/spamd.1.gz

~==>ls -l `which spamd`
-r-xr-xr-x 1 root root 84984 Apr 20 06:26 /usr/bin/spamd




So... any idea how to reduce amount of output... I have a server that
processes many emails, and this output adds up.

i

Reply via email to