rsyslog logging 'mail' to both /var/log/mail.log & /var/log/syslog

Craig White craigwhite at azapple.com
Mon Jul 25 03:17:45 UTC 2011


Rather annoying... Ubuntu 10.04 LTS & cyrus 2.4.10 (compiled from source
if that makes a difference)

Logs to both /var/log/mail.log & /var/log/syslog and it's really
annoying.

Standard /etc/syslog.d/50-default.conf

# First some standard log files.  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

and on...

How do I stop it from logging to syslog if it is logging to mail.log?

things like this...

Jul 24 07:49:54 srv2 imap[10588]: open: user craig opened INBOX
and
Jul 24 07:54:38 srv2 postfix/smtpd[20663]: connect from
localhost[127.0.0.1]

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





More information about the ubuntu-users mailing list