Johan Almqvist wrote:
Christian Herndler wrote:
Would it work if I add the following:

  my $whitelist = $connection->notes('whitelisthost');
+  my $whitelist_sender = $transaction->notes('whitelistsender');
Unfortunately, this will not work, because the dnsbl plugin will deny the connection before whitelistsender can be set: dnsbl hooks connect(), while sender whitelisting only can be done when the sender is known - and that's afer connect.

-Johan

I understood that dnsbl hooks connect() to send the querys but the result of the dns querys are processed later in hook rcpt().

Whitelistsender is set either in mail() or in rcpt() depending on how it is configured, but in both cases it should already been set when dnsbl runs in hook rcpt() as whitelist_soft precedes dnsbl in the config ?

Christian

Reply via email to