On Sat, Nov 20, 2004 at 04:51:44AM -0700, Computer King wrote:
> I am useing Freebsd 4.10stable, postfix 2.1.5 with SASL and TLS,
> procmail version 3.22 and binc IMAP 1.2.8 binc uses IMAPdir style
> mail boxes.
> 
> I wish to set up virtual servers for several domains and am using 
> postfix style vmailboxes these reside in
> /usr/local/etc/postfix/vhosts/ and am wondering how to configure
> binc for this as well what do i use for usernames and password for
> these accounts.

You will need a checkpassword program for this task. By implementing
the checkpassword interface, Binc has abstracted itself away from all
user authentication, and relies on the checkpassword program for the
purpose of user authentication and chdir():ing to the correct
directory for that user.

Read more about checkpassword at http://cr.yp.to/checkpwd.html

I sent a message to binc-dev a while back with a simple, yet working,
checkpassword program called bchkpw. It's in the PD so you are free
to do what you like with it. Or, you could look to one of the other
checkpassword implementations around. Off the top of my head, I can
think of checkpassword (the original), cmd5checkpw and then the two
custom ones that come with vpopmail and vmailmgr.

Basically, if noone has done this before, where and how you store
user and password data is up to you. :)


//Peter

Reply via email to