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:Aiko Barz (ai@haeckser.de)
Date:Nov 8, 2005 12:19:46 pm
List:net.sourceforge.lists.courier-maildrop

Sam Varshavchik wrote:

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.

Would it be possible to add a function like

int auth_getuidinfo(const char *service, uid_t uid, int (*callback)(struct authinfo *, void *), void *arg);

and call it before trying to invoke getpwuid?

I already tried to write a wrapper that calls "maildrop -d $USER" but it didn't work out... $USER gets set by qmail-local. I played with "--enable-trusted-groups" too but I had no luck.

Bye, Aiko