[plug] Virtual email users - storing mail in a database?
Craig Ringer
craig at postnewspapers.com.au
Sun Jun 12 13:15:48 WST 2005
On Sun, 2005-06-12 at 11:11 +0800, Matthew Lambie wrote:
> What I'd really like is to have virtual users on virtual domains,
> because the majority of the accounts on my systems are never logged into
> with anything other than POP3 or IMAP. If I could store the users and
> their mail in a (MySQL) database, that would rock, and would mean system
> accounts only exist for those that need system/shell access. We already
> have good redundancy with the SQL servers, so the extra complexity that
> a DB would introduce I feel is covered.
You can do this with Cyrus IMAPd authenticating against an LDAP
directory, RDBMS, flatfile, etc via SASL.
I currently authenticate against LDAP via PAM, but it should only
involve changing one config file to go direct to LDAP instead.
I'm not using virtual domains, but Cyrus definitely supports them and
virtual users. That's pretty much what it's designed for. The downside
is that it can be a little ... interesting to configure.
> Does anyone have a setup like this already, and if so what applications
> are you using to achieve this?
Postfix and Cyrus IMAPd should do it nicely.
--
Craig Ringer
More information about the plug
mailing list