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:
parent
14a77718f8
commit
98d529c596
@ -27,7 +27,7 @@ sub hook_mail_start {
|
|||||||
my ( $self, $transaction, $sender ) = @_;
|
my ( $self, $transaction, $sender ) = @_;
|
||||||
|
|
||||||
return DECLINED
|
return DECLINED
|
||||||
if ( $self->qp->connection->notes('whitelistclient') );
|
if ( $self->qp->connection->notes('whitelisthost') );
|
||||||
|
|
||||||
if ( $sender ne "<>" ) {
|
if ( $sender ne "<>" ) {
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ sub hook_mail_done {
|
|||||||
my ( $self, $transaction, $sender ) = @_;
|
my ( $self, $transaction, $sender ) = @_;
|
||||||
|
|
||||||
return DECLINED
|
return DECLINED
|
||||||
if ( $self->qp->connection->notes('whitelistclient') );
|
if ( $self->qp->connection->notes('whitelisthost') );
|
||||||
|
|
||||||
if ( $sender ne "<>" && !$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
|
||||||
|
Loading…
Reference in New Issue
Block a user