Sorry

My mistake, after reading README.plugins I understand

Hans Sandsdalen wrote:
Michael

I am not shure if I understand. What about this

return OK if ( $transaction->{_relaying} || defined($ENV{RELAYCLIENT}) );

?

Michael Holzt wrote:

I will try again. How can I use the fact that users are authenicated to NOT be rejected even if they should (according to dnsbl)?



Modify the plugins in question. For example in dnsbl:

after
    sub connect_handler {
      my ($self, $transaction) = @_;

add this:
return DECLINED if ( $transaction->{_relaying} || defined($ENV{RELAYCLIENT}) );

A more generic approach which should probably be done with the stock plugins is to add a parameter which allows one to turn off this plugin for relaying
and/or authenticated users.

Regards
Michael



--
/---------------------------------
/ Hans Sandsdalen - System Manager
/ http://www.spacetec.no
/ http://www.sandsdalen.net
/---------------------------------

Reply via email to