9 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] per-user uid & ldap
FromSent OnAttachments
Adam DivakApr 9, 2007 2:58 pm 
Petri RiihikallioApr 10, 2007 3:12 am 
Adam DivakApr 10, 2007 7:21 am 
Petri RiihikallioApr 10, 2007 9:43 am 
Divák ÁdámMay 5, 2007 4:35 am 
Petri RiihikallioMay 5, 2007 10:29 am 
Divák ÁdámMay 5, 2007 11:44 am 
Petri RiihikallioMay 7, 2007 9:14 am 
Divák ÁdámMay 7, 2007 3:40 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] per-user uid & ldapActions...
From:Petri Riihikallio (petr@metis.fi)
Date:Apr 10, 2007 3:12:31 am
List:net.sourceforge.lists.courier-maildrop

The maildrop line in postfix originally looked like this:

maildrop unix - n n - - pipe flags=DRhu user=mail argv=/usr/bin/maildrop -d ${recipient}

and the authldaprc: ... LDAP_MAIL mail LDAP_HOMEDIR mailMessageStore LDAP_MAILDIR mailMessageStore LDAP_GLOBAL_UID mail LDAP_GLOBAL_GID mail LDAP_DEREF never ...

Now I changed the authldaprc file by setting the LDAP_UID to uidNumber and the LDAP_GID accordingly and removed the '-d' switch from the postfix master.cf file

Do not remove the '-d' switch, it is necessary. Is /usr/bin/maildrop owned by root and have it's suid bit set? Does the user 'mail' belong to the trusted users of maildrop (set at compile time)? See 'man pipe' section Flags -> user= and 'man maildrop' section Options -> -d

Another approach would be to use maildrop as mailbox_command in Postfix. See http://www.postfix.org/MAILDROP_README.html section Indirect delivery via the local delivery agent