confine SMTP.pm duplicate logging to LOGDEBUG
This commit is contained in:
parent
049d34ee55
commit
d9a42d1774
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user