confine SMTP.pm duplicate logging to LOGDEBUG

This commit is contained in:
Matt Simerson 2012-05-04 14:55:14 -04:00 committed by Robert
parent 049d34ee55
commit d9a42d1774

View File

@ -312,7 +312,7 @@ sub mail {
return $self->respond(503, "please say hello first ...");
}
else {
$self->log(LOGINFO, "full from_parameter: $line");
$self->log(LOGDEBUG, "full from_parameter: $line");
$self->run_hooks("mail_parse", $line);
}
}
@ -387,7 +387,7 @@ sub mail_respond {
$self->disconnect;
}
else { # includes OK
$self->log(LOGINFO, "getting mail from ".$from->format);
$self->log(LOGDEBUG, "getting mail from ".$from->format);
$self->respond(250, $from->format . ", sender OK - how exciting to get mail from you!");
$self->transaction->sender($from);
}