Creating Shell-less E-Mail Accounts? 9
Ryan asks: "I work for a small ISP (2000 e-mail clients) and my task is to create a Web interface so that we and our affiliates can enter a username, password, and e-mail address(es) along with any other pertinent
information for a client and have them be automatically entered into our radius table and MTA/POP server's tables. Sendmail supports LDAP, however there doesn't seem to be a POP server that also supports it. There is EXIM with its native MySQL support, and a patch for qpopper to work with it, but it has the downside of requiring the POP3 username to be username@hostname.com. Has anyone found a better solution for creating e-mail users using SQL databases rather than physical shell accounts? Qmail appears to do all of this, but I'm not sure if it does it exactly how we need it to. Any suggestions?"
Use pam_ldap along with POP/IMAP server (Score:1)
Then hack /etc/pam.d/pop and/or /etc/pam.d/imap to use pam_ldap.so for 'auth' rather than use pam_pwdb.so
Cyrus a possibility... (Score:3)
In cyrus, there is no requirement for shell account for mailboxes to exist. There is both a POP server and an IMAP server associated with cyrus, but you don't have to run the pieces you don't want. There are patches that allow cyrus to authenticate via LDAP or SQL (a password file and kerberos are supported out of the box).
It scales well. I have it going for 60K users across four machines. The newer versions also have an aggregator that allows you to scale across multiple machines. It interfaces well with both sendmail and qmail (I have not tried postfix yet) and it is pretty easy to manage.
You can check it out at http://asg.web.cmu.edu/cyrus/
qmail (Score:2)
using qmail with LDAP database [nrg4u.com]
Using qmail with only one single user account [tibus.net]
IMP (Score:1)
check out Communigate pro (Score:1)
Or you can just set everyones shell to
Then you could use whatever you want.
Mike
Stalker Software (Score:1)
Documented and source included (Score:1)
have a look through http://www.hklc.com/projects
We have done it with postgres, cyrus, exim, twig - handles multiple domains etc.
I was planning to port it to mysql - the only issues are modifing the pwcheck to use mysql instead of postgres - the webmail system is mysql ready.
Use LDAP (Score:1)
Re:check out Communigate pro (Score:1)