[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote:
> I'm trying to set up a mail server that can handle several virtual
> domains and allow IMAP access without requiring to add every user to
> /etc/passwd. My plan is to use David Harris' patched IMAP server with
[[snip]]
Somebody asked me about this a few months ago and I gave them a quick run-down
on how I thought the solution would be implemented. I've appended that e-mail
as a forward.
If I were you, I'd avoid the PAM module and just go out to pam to authenticate
the unix users.. I think it's best to setup the single uid users in a db or dbm
file with some simple format that can be read directly by the imap server. But
if you know more about PAM than I do, go for it.. that might be the better way
of doing it.
I'm not releasing my setup as opens source, but I could consult for someone and
setup a single-uid imap maildir or mbox setup. If you are interested, please
contact me.
- David Harris
Principal Engineer, DRH Internet Services
-----Original Message-----
From: David Harris [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 19, 1999 9:56 PM
To: Qmail
Subject: RE: imap with single-uid setup? (was: ANNOUNCE: imap-maildir)
Yes, it's possible. But it's not very simple as the IMAP server was not setup
to have a new authentication method just plug in cleanly like the qmail-pop3d
setup. You also have to deal with the fact that the IMAP server is happy to
allow the user to open folders not in their home directory, but relies on the
UNIX uid permissions.
If you don't mind mucking around in the source code, then go for it. The file
you wan to start in is "src/osdep/unix/env_unix.c". It's about a thousand lines
and from my understanding of the code, you should be able to do all the
modifications in just that file.
My partner and I are developing an in-house solution to allow each virtual
domain user to setup virtual POP/IMAP accounts under one uid, but that is going
to be proprietary. Developing it was how I ended up doing the Maildir patch.
- David Harris
Principal Engineer, DRH Internet Services