I think this came up once before, but I can't find a reference.

  There are two logging calls which I think should be removed, or
 at least have their severity reduced.  Patch for the former below:

  More generally I think it would be nice to decide what levels the
 core should use for outputting messages.  There are a (sane) mixture
 of LOGWARN, LOGINFO, LOGDEBUG levels being used - and it wouldn't
 be a bad thing to go over them to make sure usage is consistent.

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


--- SMTP.pm-orig    2008-05-12 11:53:54.000000000 +0100
+++ SMTP.pm 2008-05-12 11:53:58.000000000 +0100
@@ -341,7 +341,6 @@
       $from = shift @$msg;
     }
 
-    $self->log(LOGALERT, "from email address : [$from]");
     return $self->respond(501, "could not parse your mail from command")
       unless $from =~ /^<.*>$/;
 
@@ -425,7 +424,6 @@
   if ($rc == OK) {
     $rcpt = shift @$msg;
   }
-  $self->log(LOGALERT, "to email address : [$rcpt]");
   return $self->respond(501, "could not parse recipient")
     unless $rcpt =~ /^<.*>$/;
 

Reply via email to