This async plugin needs the same change as #908: make the "this connection is whitelisted note" consistent between all plugins in the distribution.

git-svn-id: https://svn.perl.org/qpsmtpd/trunk@918 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Radu Greab 2008-06-02 15:32:39 +00:00 committed by Ask Bjørn Hansen
parent 14a77718f8
commit 98d529c596

View File

@ -27,7 +27,7 @@ sub hook_mail_start {
my ( $self, $transaction, $sender ) = @_;
return DECLINED
if ( $self->qp->connection->notes('whitelistclient') );
if ( $self->qp->connection->notes('whitelisthost') );
if ( $sender ne "<>" ) {
@ -55,7 +55,7 @@ sub hook_mail_done {
my ( $self, $transaction, $sender ) = @_;
return DECLINED
if ( $self->qp->connection->notes('whitelistclient') );
if ( $self->qp->connection->notes('whitelisthost') );
if ( $sender ne "<>" && !$transaction->notes('resolvable_fromhost') ) {
# default of temp_resolver_failed is DENYSOFT