2 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] Can't create cache file
FromSent OnAttachments
Payal RathodNov 11, 2004 5:45 am 
Brian CandlerNov 12, 2004 12:25 am 
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: [sqwebmail] Can't create cache fileActions...
From:Brian Candler (B.Ca@pobox.com)
Date:Nov 12, 2004 12:25:29 am
List:net.sourceforge.lists.courier-sqwebmail

On Thu, Nov 11, 2004 at 08:45:27AM -0500, Payal Rathod wrote:

I have a new test machine with Mandrake 10.0 installed with lot of harddisk space. I installed sqwemail with, --with-module=authpwd --enable-mimetypes=/usr/local/etc
--cache-file=/tmp/cache.webmail (Also did it without --cache-file tag). The config.log is at, http://payal.staticky.com/config.txt

Can someone please point what is wrong?

Run './configure --help' to get a list of valid configure options, because configure simply ignores junk options. You will then notice:

--with-authpwd (not --with-module=authpwd)

Query for SAM: I think perhaps --enable-mimetypes={dir} Your mime.types file. should say --enable-mimetypes={file} Your mime.types file.

i.e. --enable-mimetypes=/usr/local/etc/mime.types

Second, what *exact* error are you getting from sqwebmail, and at what point?

The closest looking error I can find in the source is:

maildir/maildircache.c: fprintf(stderr, "CRIT: maildircache:
Cache create failure - unable to create file %s.\n", f);

If this is the message you're getting, then probably you have some wrong permissions.

sqwebmail tries to create the cache file as user 'bin' by default, I believe, unless you specify --with-cacheowner=someotheruser

Look in sqwebmail/confdefs.h for #define CACHEDIR, make sure that directory exists on your filesystem, then do chown bin /path/to/dir

Regards,

Brian.