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:
parent
f4afd7a18d
commit
14314f3f10
@ -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 =~ /^<.*>$/;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user