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.
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:
I am sure that someone would be interested. Maybe you could post it on the Life with BincIMAP wiki (http://www.lifewithbincimap.org/)
If my authenticator is of interest to anyone here, let me know and I will make it available.
Hence my suggested improvement:-)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.
Henry:-)
-- Henry Baragar Instantiated Software Inc. http://www.instantiated.ca
