3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Cannot determine my u...
FromSent OnAttachments
Aiko BarzNov 6, 2005 6:19 pm 
Sam VarshavchikNov 6, 2005 6:54 pm 
Aiko BarzNov 8, 2005 12:19 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Cannot determine my username.Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Nov 6, 2005 6:54:14 pm
List:net.sourceforge.lists.courier-maildrop

Aiko Barz writes:

Hello there,

I ported one of my mailservers from Linux to OpenBSD. I use qmail-ldap/courier-imap(courier-authlib) and of course OpenLDAP.

I would prefer not to use nsswitch and nss_ldap. Of cource, OpenBSD doesn't give me much of a choice. And that's exactly my problem.

maildrop seems the get informations about the user by calling getpwuid instead of asking courier-authlib.

Of course, courier-authlib only maps arbitrary mailbox IDs to numeric system uid, gid, and home directory. courier-authlib does not map numeric system ids to anything else.

courier-imap doesn't do this and is working fine.

Am I missing something?

If you are mapping abitrary mailbox Ids to some numeric system uid and gid, those uids and gids must be known to the system.