Don't reject mail from the null sender
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@858 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
694b9fd148
commit
640eadea50
@ -57,7 +57,7 @@ sub hook_mail_done {
|
|||||||
return DECLINED
|
return DECLINED
|
||||||
if ( $self->qp->connection->notes('whitelistclient') );
|
if ( $self->qp->connection->notes('whitelistclient') );
|
||||||
|
|
||||||
if (!$transaction->notes('resolvable_fromhost')) {
|
if ( $sender ne "<>" && !$transaction->notes('resolvable_fromhost') ) {
|
||||||
# default of temp_resolver_failed is DENYSOFT
|
# default of temp_resolver_failed is DENYSOFT
|
||||||
return Qpsmtpd::DSN->temp_resolver_failed(
|
return Qpsmtpd::DSN->temp_resolver_failed(
|
||||||
"Could not resolve " . $sender->host );
|
"Could not resolve " . $sender->host );
|
||||||
|
Loading…
Reference in New Issue
Block a user