Lower log level of rcpt/from addresses

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@949 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Matt Sergeant 2008-09-30 03:22:34 +00:00 committed by Ask Bjørn Hansen
parent f4afd7a18d
commit 14314f3f10

View File

@ -342,7 +342,7 @@ sub mail_pre_respond {
$from = shift @$msg;
}
$self->log(LOGALERT, "from email address : [$from]");
$self->log(LOGDEBUG, "from email address : [$from]");
return $self->respond(501, "could not parse your mail from command")
unless $from =~ /^<.*>$/;
@ -426,7 +426,7 @@ sub rcpt_pre_respond {
if ($rc == OK) {
$rcpt = shift @$msg;
}
$self->log(LOGALERT, "to email address : [$rcpt]");
$self->log(LOGDEBUG, "to email address : [$rcpt]");
return $self->respond(501, "could not parse recipient")
unless $rcpt =~ /^<.*>$/;