From 640eadea5010b9d76156abc9a5b20c6f55626d24 Mon Sep 17 00:00:00 2001 From: Matt Sergeant Date: Thu, 13 Mar 2008 20:00:33 +0000 Subject: [PATCH] Don't reject mail from the null sender git-svn-id: https://svn.perl.org/qpsmtpd/trunk@858 958fd67b-6ff1-0310-b445-bb7760255be9 --- plugins/async/require_resolvable_fromhost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/async/require_resolvable_fromhost b/plugins/async/require_resolvable_fromhost index 29fda7c..36ca876 100644 --- a/plugins/async/require_resolvable_fromhost +++ b/plugins/async/require_resolvable_fromhost @@ -57,7 +57,7 @@ sub hook_mail_done { return DECLINED 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 return Qpsmtpd::DSN->temp_resolver_failed( "Could not resolve " . $sender->host );