On Wed, Nov 26, 2003 at 08:45:18AM +0100, Rietsch Thierry wrote:
> Hi
> 
> I have problems with sqwebmail on an OpenBSD 3.4 box.
> Sqwebmail compiled without any errors, but I can't login. When I enter the
> information (username, pass) in the webfrontend from sqwebmail and submit
> them, I get the following syslog entry:
> --
> sqwebmail: maildircache: Cache create failure - cannot change to sqwebmail
> (uid: 1014, gid: 1006)

The program is trying to change to userid 'sqwebmail', but either there is
no 'sqwebmail' in your password file, or the program is unable to switch gid
or uid.

I am presuming you compiled --with-cacheowner=sqwebmail ?

I also presume your patch is at line 222 of maildir/maildircache.c, and
therefore you are printing pwd->pw_gid and pwd->pw_uid, and so pwd is not
null.

Are you running sqwebmail as a non-root uid? If so, you need to make
--with-cacheowner=the same uid.

Brian.

Reply via email to