Johan Almqvist wrote:
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.
Not quite accurate. dnsbl hooks connect, but it only starts the dns lookups at this point. It doesn't actually check those lookups until the rcpt hook, for just this reason. Just make sure that any whitelist plugin is listed before dnsbl and you can successfully whitelist on MAIL FROM (which happens before RCPT)...
John
