On Tuesday, December 4, 2001, at 01:04 PM, Pasi Kärkkäinen wrote: > > Hello! > > I'm planning to try qmail+vpopmail, and there's something I'd like to > know > prior installing them.. > > > 1) I'd like to have all user information on ldap-directory (for > address-books and stuff). Should I tell vpopmail to use ldap for > storing > users/passwords and for authentication? > Or should I use mysql instead and tell openldap to read data for ldap > from mysql? (I don't know if this is even possible:)
I don't know if this will work either, but I can tell you that the mysql module has much more support than the ldap module in vpopmail. > 2) "Supports authenticated relay control of your qmail smtp server." > This > is from the feature-page of vpopmail. Does this mean that > vpopmail edits tcp.smtp when pop/imap-connection starts? Doesn't this > belong for imap/pop-daemon? if yes, does courier-imapd/pop3d support > this? libvpopmail actually does this, which is available to vchkpw (pop) and authvchkpw (courier-imap, maybe courier's pop3d) > 3) How should I set up the authentication for courier-imapd/pop3d ? > Authenticate directly from ldap or mysql, or via vpopmail? Vpopmail will be the easiest. If you need roaming users by imap, configure courier-imap with --without-authdaemon. > 4) Is there smtp-auth (+ssl?) package available for qmail which is > compatible with vpopmail (mysql? ldap?)? Search the archives for info about doing this with tcpserver/vchkpw. Or, you might experiment with courier-pop3d. It can authenticate with authvchkpw and so ssl out of the box, but you'll lose a lot of vchkpw's features. But roaming should work. > 5) "use Matt Simersons tcpserver-mysql patch". Is this recommended? If you use mysql and tcpserver and want roaming users, it's a more efficient method. > Is it > possible to get this kind of patch for ldap? Does the recompiling of > tcp.smtp.cdb take much more cpu compared to mysql/ldap-thingy? Is > recompilation of tcp.smtp.cdb required for _all_ > pop/imap-connections? Yes. If you use vchkpw or authvchkpw, the open_relay() function will do this for you. Cheers, Bill