FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-23-2010, 10:56 PM
Tom H
 
Default Lenny, rsyslog: eliminate mail logging going to both syslog and mail.log

On Fri, Jul 23, 2010 at 3:48 PM, Stan Hoeppner <stan@hardwarefreak.com> wrote:
> What do I need to modify in /etc/rsyslog.conf to stop mail system logging from
> going into /var/log/syslog? *Currently it goes to both /var/log/mail.log and
> to /var/log/syslog.
>
> I'm guessing it might have to do with the leading wildcard here:
>
> *.*;auth,authpriv.none * * * * *-/var/log/syslog

IIRC
*.*;!mail.debug;auth,authpriv.none -/var/log/syslog


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTim1WHuu3xUyL=3vfvAvkr-7mi_FBJOBS2UO0L7g@mail.gmail.com">http://lists.debian.org/AANLkTim1WHuu3xUyL=3vfvAvkr-7mi_FBJOBS2UO0L7g@mail.gmail.com
 
Old 07-24-2010, 02:30 PM
Tom H
 
Default Lenny, rsyslog: eliminate mail logging going to both syslog and mail.log

On Sat, Jul 24, 2010 at 5:43 AM, Tom Furie <tom@furie.org.uk> wrote:
> On Fri, Jul 23, 2010 at 06:56:59PM -0400, Tom H wrote:
>> On Fri, Jul 23, 2010 at 3:48 PM, Stan Hoeppner <stan@hardwarefreak.com> wrote:
>> > What do I need to modify in /etc/rsyslog.conf to stop mail system logging from
>> > going into /var/log/syslog? *Currently it goes to both /var/log/mail.log and
>> > to /var/log/syslog.
>> >
>> > I'm guessing it might have to do with the leading wildcard here:
>> >
>> > *.*;auth,authpriv.none * * * * *-/var/log/syslog
>>
>> IIRC
>> *.*;!mail.debug;auth,authpriv.none * * * * *-/var/log/syslog
>
> That will stop debug level messages from the mail system. If you want to
> be sure of getting NO mail messages in syslog, then you could use
> mail.none. (The clue is in the authpriv entry.)

Debug and higher.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTinoXL=w2d8h8UKMSVF-N0_ZcfJVkN8Y9CFErQxk@mail.gmail.com">http://lists.debian.org/AANLkTinoXL=w2d8h8UKMSVF-N0_ZcfJVkN8Y9CFErQxk@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 04:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org