Package: nullmailer
Version: 1.05-1
Severity: minor

The Debian syslog patch to nullmailer causes successful mail submission to be 
logged with a level of LOG_ERR, cluttering up the high-severity log 
destinations.  Fix attached.

FWIW, I'm actually running nullmailer-1.04 on Gentoo, which includes the 
relevant patch from Debian - will report downstream as appropriate.  The issue 
is apparently still relevant for your 1.05-1 package.

Kind Regards,
Malte
diff -rubB debian.orig/patches/03_syslog.diff debian/patches/03_syslog.diff
--- debian.orig/patches/03_syslog.diff	2011-04-05 14:58:21.000000000 +0200
+++ debian/patches/03_syslog.diff	2011-06-29 08:01:37.996786190 +0200
@@ -87,7 +87,7 @@
  {
 -  ferr << cli_program << ": Succeeded: " << msg << endl;
 +  if (use_syslog)
-+    syslog(LOG_ERR, "%s: Succeeded: %s", cli_program, msg);
++    syslog(LOG_INFO, "%s: Succeeded: %s", cli_program, msg);
 +  if (!daemonize)
 +    ferr << cli_program << ": Succeeded: " << msg << endl;
    exit(0);

Reply via email to