On Thursday 13 May 2004 02:08 pm, Henry Baragar wrote:
> > 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.

yes, that's how vpopmail's vchkpw program does it with vipmap (mapping 
virtualdomains to IP addresses)

> > 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/)

I'd like to see it, just to see what it is hehe :)

> > 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:-)

indeed.

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
        kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail

Reply via email to