atom feed5 messages in net.sourceforge.lists.courier-usersRe: [courier-users] [authlib PATCH] -...
FromSent OnAttachments
Alain NAKACHEFeb 13, 2006 7:04 am 
Barry FlanaganFeb 13, 2006 9:05 am 
Alain NAKACHEFeb 13, 2006 9:16 am 
Barry FlanaganFeb 13, 2006 9:26 am 
Alain NAKACHEFeb 13, 2006 9:33 am 
Subject:Re: [courier-users] [authlib PATCH] - Extra vars in AUTH cmd
From:Barry Flanagan (barr@flanagan.ie)
Date:Feb 13, 2006 9:26:01 am
List:net.sourceforge.lists.courier-users

Alain NAKACHE wrote:

Barry Flanagan a écrit :

Alain NAKACHE wrote:

Hi Sam,

Here's a small patch which allow to transmit extra informations to the authlib daemon.

TCPREMOTEIP and TCPLOCALIP (if they are defined) are appended at the end of an AUTH cmd.

Would these variables then be available in the config file? For example, to include in the SQL statement?

-Barry

You didn't understand what this patch is used for.

Perhaps

It is used to allow an authlib client to transmit these vars to the authlib daemon.

Yes,

Then your authlib daemon method (say authlib-pipe) can extract these vars from the AUTH cmd and apply restrictions or enhance logging.

what I want to do is to be able to extract these vars in the mysql authlib method, and use it in my SQL statement. Would this be possible?