Here is the patch which turns down logging in SMTP.pm.  Noticable
when logterse plugin is used and debugging set to LOGWARN or above.

Maybe this should be even set to LOGDEBUG instead of just LOGINFO?

Patch against version 0.40.

--- lib/Qpsmtpd/SMTP.pm.old     2007-05-30 10:49:54.000000000 -0500
+++ lib/Qpsmtpd/SMTP.pm 2007-10-30 23:33:44.000000000 -0500
@@ -343,7 +343,7 @@
       $from = shift @$msg;
     }

-    $self->log(LOGALERT, "from email address : [$from]");
+    $self->log(LOGINFO, "from email address : [$from]");
     return $self->respond(501, "could not parse your mail from command")
       unless $from =~ /^<.*>$/;

@@ -427,7 +427,7 @@
   if ($rc == OK) {
     $rcpt = shift @$msg;
   }
-  $self->log(LOGALERT, "to email address : [$rcpt]");
+  $self->log(LOGINFO, "to email address : [$rcpt]");
   return $self->respond(501, "could not parse recipient")
     unless $rcpt =~ /^<.*>$/;


David Wayne Summers        "Linux: Because reboots are for hardware upgrades!"
[EMAIL PROTECTED] PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  0B44 B118 85CC F4EC 7021  1ED4 1516 5B78 E320 2001

Reply via email to