6 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] non-suid Maildrop won...
FromSent OnAttachments
Petri RiihikallioOct 12, 2003 1:00 pm 
Andreas StollarOct 13, 2003 8:55 am 
Petri RiihikallioOct 13, 2003 9:24 am 
Andreas StollarOct 13, 2003 9:38 am 
Petri RiihikallioOct 13, 2003 11:35 am 
Arnaud PignardOct 13, 2003 6:26 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] non-suid Maildrop won't talk to LDAP serverActions...
From:Petri Riihikallio (Petr@Metis.fi)
Date:Oct 13, 2003 9:24:44 am
List:net.sourceforge.lists.courier-maildrop

You should not have to setuid/setgid for this to work. I am using maildrop with LDAP and qmail for over a year. I only used "'--enable-maildropldap' '--enable-maildirquota'" when building. My /etc/maildropldap.config file is 600 and owned by the virtual user. It sounds like something is not configured right in you maildropldap.config file. The key parts of mine look like:

Thanks for your input!

I believe my maildropldap.config is correct, since it works fine when maildrop is suid root. This is puzzling me most.

I include it here, in case someone spots some error in it:

hostname localhost basedn ou=users,dc=metis,dc=fi timeout 5 search_method mail default_uidnumber 6000 default_gidnumber 6000 mail_attr mail uid_attr uid maildir_attr mailMessageStore homedirectory_attr mailMessageStore quota_attr mailQuotaSize

vmail:vmail is 6000:6000 and the file is owned and readable by vmail only.

BTW: Are you using maildrop 1.6.2 or earlier? Did you take the suid/sgid bits off by hand after intallation? The installation script makes maildrop suid root by default.