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 ...");
|
return $self->respond(503, "please say hello first ...");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$self->log(LOGINFO, "full from_parameter: $line");
|
$self->log(LOGDEBUG, "full from_parameter: $line");
|
||||||
$self->run_hooks("mail_parse", $line);
|
$self->run_hooks("mail_parse", $line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -387,7 +387,7 @@ sub mail_respond {
|
|||||||
$self->disconnect;
|
$self->disconnect;
|
||||||
}
|
}
|
||||||
else { # includes OK
|
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->respond(250, $from->format . ", sender OK - how exciting to get mail from you!");
|
||||||
$self->transaction->sender($from);
|
$self->transaction->sender($from);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user