Mailscanner logging to syslog, only partial to mail.log,
driving me nuts
greg at blastzone.com
Mon Feb 9 23:19:30 GMT 2009
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Greg Deputy
> Sent: Monday, February 09, 2009 2:45 PM
> To: 'MailScanner discussion'
> Subject: RE: Mailscanner logging to syslog, only partial to mail.log,
> me nuts
> > -----Original Message-----
> > From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> > bounces at lists.mailscanner.info] On Behalf Of Kai Schaetzl
> > Sent: Saturday, February 07, 2009 6:07 AM
> > To: mailscanner at lists.mailscanner.info
> > Subject: Re: Mailscanner logging to syslog, only partial to mail.log,
> > me nuts
> > Greg Deputy wrote on Fri, 6 Feb 2009 17:38:29 -0800:
> > > *.*;auth,authpriv.none -/var/log/syslog
> > There you go, isn't that *very* obvious?
> > Btw, looks very much like *you* added this line.
> > Kai
> I have no memory of doing that, but anything is possible.
> So removing that line, I no longer get the mailscanner entries in syslog,
> but not seeing them in mail.log either. Is there a tag for mailscanner
> I need to add to syslog.conf to get those where I want them?
So did some more digging, got syslogd running in debug mode, and it appears
the messages I am not getting are coming from the facility 'local3.info'
like in the debug lines below. Why is MailScanner sending spamassassin
result messages to local3.info instead of mail.info?
Successful select, descriptor count = 1, Activity on: 3
Message from UNIX socket: #3
Message length: 298, File descriptor: 3.
logmsg: local3.info<158>, flags 2, from mx1, msg Feb 9 15:14:15
check: Message 5535550134.8F497 from 184.108.40.206
(craig at gpsflight.com) to smartmobilesolutions.com is not spam, SpamAssassin
(not cached, score=-21.849, required 5, autolearn=not spam, ALL_TRUSTED
-1.80, AUTHDSENDER_RULE -20.00, BAYES_00 -0.05, HTML_MESSAGE 0.00)
Called fprintlog, logging to FILE /var/log/messages
Called fprintlog, logging to PIPE |/dev/xconsole
Calling select, active file descriptors (max 3): 3
More information about the MailScanner