On Thu, 13 May 2004 12:21:24 -0500, Mark Mitchell <[EMAIL PROTECTED]> wrote:


Hello all,


Regarding virtual users and the various authenticators:

I wanted to use Binc, and I needed to support virtual users and
multiple virtual hosts.  I looked at vmailmgr et al, and wasn't
particularly impressed.  They also did not seem to be able to do
what I wanted, which was to determine the virtual host based on the
IP address the user connected to.  (I use IMAP SSL only, and thus
have a separate IP address for each virtual host).

To make a long story short, I wrote my own Binc authenticator which
uses the checkpassword interface, with an extension.  The docs for
the checkpassword interface say:

May I suggest a little improvement... use the TCPLOCALIP environment variable (set by both tcpserver and tcp-env [if you are using xinetd), then there is no need to patch Binc and it makes your authenticator usable by every other program that uses the checkpassword interface.



If my authenticator is of interest to anyone here, let me know and I will make it available.
I am sure that someone would be interested. Maybe you could post it on the Life with BincIMAP wiki (http://www.lifewithbincimap.org/)

Be aware that unless Andy decides
to incorporate my patch into Binc, every time you upgrade to
a new release of Binc, you will have to reapply my patch, and
possibly modify it slightly if Binc's authenticate.cc has changed
substantially.

Hence my suggested improvement:-)

Henry:-)


-- Henry Baragar Instantiated Software Inc. http://www.instantiated.ca

Reply via email to