Mailscanner logging to syslog, only partial to mail.log,
driving me nuts
Greg Deputy
greg at blastzone.com
Sat Feb 7 01:38:29 GMT 2009
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Michael Mansour
> Sent: Thursday, February 05, 2009 9:10 PM
> To: MailScanner discussion
> Subject: RE: Mailscanner logging to syslog, only partial to mail.log,
driving
> me nuts
>
> Hi Greg,
>
> > From: Greg Deputy <greg at blastzone.com>
> > Subject: RE: Mailscanner logging to syslog, only partial to mail.log,
> driving me nuts
> > To: "'MailScanner discussion'" <mailscanner at lists.mailscanner.info>
> > Received: Friday, 6 February, 2009, 12:44 AM
> > Yes, I've looked there, nothing seems unusual, and
> > I've not changed anything in there.
>
> Two things:
>
> 1. please don't top-post, it makes it difficult for people in the future
going
> through list archives and trying to follow a conversation thread.
>
> 2. please post your syslog.conf. I've recently been doing a lot of syslog
work
> (out of necessity) to fix very similar issues, and it all turned out to be
the
> syslog config I had in place.
>
> Hopefully I'll be able to help.
>
> Michael.
>
> > -----Original Message-----
> > From: mailscanner-bounces at lists.mailscanner.info
> > [mailto:mailscanner-bounces at lists.mailscanner.info] On
> > Behalf Of Kai
> > Schaetzl
> > Sent: Thursday, February 05, 2009 3:31 AM
> > To: mailscanner at lists.mailscanner.info
> > Subject: Re: Mailscanner logging to syslog, only partial to
> > mail.log,
> > driving me nuts
> >
> > Greg Deputy wrote on Wed, 4 Feb 2009 23:50:51 -0800:
> >
> > > I've had a logging issue going on for a while with
> > MailScanner. In my
> > > /var/log/mail.log file I'm only getting postfix
> > messages, where all the
> > > MailScanner messages seem to be going into
> > /var/log/syslog. I've checked
> > > the mailscanner config, and the syslog facility set is
> > 'mail' and syslog
> > > seems to be setup and config'd correctly. I used
> > to get all logging in
> > > mail.log as expected, but at some point is stopped.
> >
> > check your /etc/syslog.conf
> >
> > Kai
> >
> > --
> > Kai Schätzl, Berlin, Germany
> > Get your web at Conactive Internet Services:
> > http://www.conactive.com
> >
> >
> >
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> > Before posting, read http://wiki.mailscanner.info/posting
> >
> > Support MailScanner development - buy the book off the
> > website!
> > --
> > MailScanner mailing list
> > mailscanner at lists.mailscanner.info
> > http://lists.mailscanner.info/mailman/listinfo/mailscanner
> >
> > Before posting, read http://wiki.mailscanner.info/posting
> >
> > Support MailScanner development - buy the book off the
> > website!
>
>
> Make Yahoo!7 your homepage and win a trip to the Quiksilver Pro.
Find
> out more
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
Thanks! The syslog was attached to the message you replied to, here it is
below:
# /etc/syslog.conf Configuration file for syslogd.
#
# For more information see syslog.conf(5)
# manpage.
#
# First some standard logfiles. Log by facility.
#
auth,authpriv.* /var/log/auth.log
*.*;auth,authpriv.none -/var/log/syslog
#cron.* /var/log/cron.log
daemon.* -/var/log/daemon.log
kern.* -/var/log/kern.log
lpr.* -/var/log/lpr.log
mail.* -/var/log/mail.log
user.* -/var/log/user.log
uucp.* /var/log/uucp.log
#
# Logging for the mail system. Split it up so that
# it is easy to write scripts to parse these files.
#
mail.info -/var/log/mail.info
mail.warn -/var/log/mail.warn
mail.err /var/log/mail.err
# Logging for INN news system
#
news.crit /var/log/news/news.crit
news.err /var/log/news/news.err
news.notice -/var/log/news/news.notice
#
# Some `catch-all' logfiles.
#
*.=debug;\
auth,authpriv.none;\
news.none;mail.none -/var/log/debug
*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none -/var/log/messages
#
# Emergencies are sent to everybody logged in.
#
*.emerg *
#
# I like to have messages displayed on the console, but only on a virtual
# console I usually leave idle.
#
#daemon,mail.*;\
# news.=crit;news.=err;news.=notice;\
# *.=debug;*.=info;\
# *.=notice;*.=warn /dev/tty8
# The named pipe /dev/xconsole is for the `xconsole' utility. To use it,
# you must invoke `xconsole' with the `-file' option:
#
# $ xconsole -file /dev/xconsole [...]
#
# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
# busy site..
#
daemon.*;mail.*;\
news.crit;news.err;news.notice;\
*.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsole
More information about the MailScanner
mailing list