develooper Front page | perl.qpsmtpd | Postings from June 2005

Re: NOT reject authenicated users?

Thread Previous | Thread Next
From:
Michael Holzt
Date:
June 8, 2005 04:05
Subject:
Re: NOT reject authenicated users?
Message ID:
20050608110431.GA30684@fqdn.org
> 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

-- 
      It's an insane world, but i'm proud to be a part of it. -- Bill Hicks

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About