Package: rsyslog
Version: 4.2.0-1
Severity: normal
Tags: patch

Hello,

Just wanted to include that postfix mail logs are actually logged in 
triplicate, by default:
1) mail.log
2) mail.info, mail.warn, mail.err
3) syslog

I attached a patch for rsyslog.conf that I am using to log mail.* only to 
mail.log

-- 
Kind regards,
Michael Shuler


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (700, 'testing'), (300, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsyslog depends on:
ii  libc6                  2.9-23            GNU C Library: Shared libraries
ii  lsb-base               3.2-23            Linux Standard Base 3.2 init scrip
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages rsyslog recommends:
ii  logrotate                     3.7.7-3    Log rotation utility

Versions of packages rsyslog suggests:
pn  rsyslog-doc                   <none>     (no description available)
pn  rsyslog-gnutls                <none>     (no description available)
pn  rsyslog-gssapi                <none>     (no description available)
pn  rsyslog-mysql | rsyslog-pgsql <none>     (no description available)
pn  rsyslog-relp                  <none>     (no description available)

-- no debconf information
--- /etc/rsyslog.conf.orig      2009-02-07 18:34:13.000000000 -0600
+++ /etc/rsyslog.conf   2009-08-08 21:47:24.000000000 -0500
@@ -53,7 +53,7 @@
 # First some standard log files.  Log by facility.
 #
 auth,authpriv.*                        /var/log/auth.log
-*.*;auth,authpriv.none         -/var/log/syslog
+*.*;auth,authpriv.none;mail.none       -/var/log/syslog
 #cron.*                                /var/log/cron.log
 daemon.*                       -/var/log/daemon.log
 kern.*                         -/var/log/kern.log
@@ -65,9 +65,9 @@
 # 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
+#mail.info                     -/var/log/mail.info
+#mail.warn                     -/var/log/mail.warn
+#mail.err                      /var/log/mail.err
 
 #
 # Logging for INN news system.

Reply via email to