Package: ssmtp
Version: 2.61-12
Severity: minor
Tags: patch

Per http://bugs.debian.org/319942, ssmtp instructs logcheck to ignore
boring syslog entries.  This regexp is no longer correct, for entries
like the one below, the regexp does not expect the "2.0.0 " string.

    Jun 6 15:02:07 baal sSMTP[18657]: Sent mail for [EMAIL PROTECTED]
    (221 2.0.0 Bye) uid=112 username=logcheck outbytes=816

The attached patch (untested!) *should* fix it.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ssmtp depends on:
ii  debconf                       1.5.13     Debian configuration management sy
ii  libc6                         2.5-10     GNU C Library: Shared libraries
ii  libgnutls13                   1.6.3-1    the GNU TLS library - runtime libr

ssmtp recommends no packages.

-- debconf information:
  ssmtp/overwriteconfig: true
  ssmtp/mailname:
* ssmtp/mailhub: mail
* ssmtp/fromoverride: false
* ssmtp/hostname: rocinante.lan
* ssmtp/root: twb
* ssmtp/rewritedomain:
* ssmtp/port: 25
diff -ud -L /sudo::/etc/logcheck/ignore.d.server/ssmtp -L 
/tmp/buffer-content-18752mHN /tmp/tramp.18752zRT /tmp/buffer-content-18752mHN
--- /sudo::/etc/logcheck/ignore.d.server/ssmtp
+++ /tmp/buffer-content-18752mHN
@@ -1 +1 @@
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sSMTP\[[0-9]+\]: Sent mail for .* \([0-9]+ 
Bye\) uid=[0-9]+ username=[\._[:alnum:]-]+ outbytes=[0-9]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sSMTP\[[0-9]+\]: Sent mail for .* \([0-9]+ 
[0-9.]+ Bye\) uid=[0-9]+ username=[\._[:alnum:]-]+ outbytes=[0-9]+$

Diff finished.  Wed Jun  6 16:09:02 2007

Reply via email to