4 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] Internal error (modul...
FromSent OnAttachments
UpayaviraSep 9, 2004 1:54 am 
Sam VarshavchikSep 9, 2004 4:52 pm 
UpayaviraSep 9, 2004 11:25 pm 
Sam VarshavchikSep 10, 2004 4:13 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] Internal error (module sqconfig.c, line 77)Actions...
From:Upayavira (uv@upaya.co.uk)
Date:Sep 9, 2004 11:25:38 pm
List:net.sourceforge.lists.courier-sqwebmail

Sam Varshavchik wrote:

Upayavira writes:

Hi,

I'm trying to get exim4 (as MTA), Courier IMAP and Courier webmail working as a package. I seem to have got IMAP working, but when I log into webmail, I get:

IMAP has nothing to do with sqwebmail.

I said that because they both access the same Maildir folders - so the fact that IMAP was working, suggested that the Maildirs were okay.

Internal error (module sqconfig.c, line 77) - contact system administrator

Any ideas what that means?

I've got messages delivered into my Maildir folder - I can see them there.

It means that sqwebmail is unable to update an internal configuration file, in the maildir.

Aaaaah. Thank you.

Possible reasons:

• You are out of disk space.

I was out of space on / (Maildirs are on /home). I cleared some out, restarted apache2, sqwebmail and courier-authdaemon, and still got the same.

• sqwebmail is not running under the same userid and groupid that owns the maildir on the filesystem.

Hmm. It is running as root. Surely root has access to the Maildir?

According to whatever authentication method you're using with sqwebmail (which of course you didn't mention, obviously expecting everyone else to figure it out telepathically),

(I didn't mention it more because there's soooo much I could mention, and as a complete mail newbie, I didn't know where to start.)

I'm using authdaemon, with authpam, using system accounts. That seems to work for IMAP, i.e. IMAP can log in.

the login account's home directory is X, and the accounts userid and groupid are Y and Z; however after changing to home directory X, and its maildir, the process is unable to save a configuration file because it does not have the filesystem permissions to do so (either the permissions on the filesystem are set incorrectly, or Y and Z are not the real owners of X, and its maildir).

Hmmm. The user account is called upayavira. The Maildir is owned by upayavira, with user rwx------ permissions on pretty much everything. How could it be any other way? Surely my maildir is owned by me, and should be owned only by me?

I should also add, I'm using the deb packages from Debian Sarge.

Thanks for any more help you are able to offer.