On Wed, Oct 08, 2003 at 08:28:03PM +0300, Petri Riihikallio wrote:
> >(1) that you don't have two groups called "vmail" in /etc/groups (that one
> >is a real pain to spot!), or less likely, two users called "vmail" in
> >/etc/passwd
> 
> No
> 
> >(2) that you are not explicitly setting the uid or gid for individual
> >mailboxes in LDAP, i.e. you have left LDAP_UID/LDAP_GID commented out.
> 
> They are commented out:
> # LDAP_UID              uidNumber
> # LDAP_GID              gidNumber
> 
> Actually there are no numerical ids in LDAP, because it is only used 
> for virtual e-mail users.
> 
> >(3) I'm not sure you said what platform you are running under?
> 
> uname -a:
> FreeBSD mail.example.com 5.1-RELEASE-p8 FreeBSD 5.1-RELEASE-p8 #1: 
> Tue Sep 30 13:12:10 EEST 2003 
> [EMAIL PROTECTED]:/usr/src/sys/i386/compile/MINE  i386
> 
> Weren't you running FreeBSD 4.8? That could make a difference.

I am indeed running under FreeBSD 4.8, but I don't think something as
fundamental as the semantics of setuid() and setgid() have changed in 5.x.
It would break tons of things.

If you're prepared to debug this, then I'd suggest you rebuild and install a
default (unpatched) sqwebmail, chown it to vmail:vmail, and try to replicate
the problem. If so, you can debug it by inserting fprintf(stderr,....)
statements at various points around the problem area.

Regards,

Brian.

Reply via email to