>
> Is it possible to modify check_basicheaders to ignore email from
> whitelisted sources? I'd like to use the plugin, but with the ability
> to whitelist some systems that send automated emails that otherwise
fail.
>
> Is it enough to add
> # Always allow relayclients and whitelisted hosts/senders
> return DECLINED if $self->qp->connection->relay_client();
> return DECLINED if $self->qp->connection->notes('whitelisthost');
> return DECLINED if $transaction->notes('whitelistsender');
>
> somewhere in the existing plugin?
Yes, right after this :
sub hook_data_post {
my ($self, $transaction) = @_;
Sydney.