-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 24 September 2002 07:31, Davide Giunchi wrote: > Hello. > > I'm managing a big qmail server that use sqwebmail-3.3.3 as webmail > frontend, about 3 month ago i've upgraded from 2.0.1 to 3.3.3 and after > 1 month circa i get one frequent problem: when a user's try to login in > sometimes get: > > internal error (module sqconfig.c, line 63) - contact system > administrator > > Reading the sqwebmail source i've found that this problem occur when > sqwebmail is not able to open sqwebmail-ip or other's sqwebmail-* > files.
at the last ISP where i worked, we would see this if a user's mailbox was full (quota enforcement by the operating system) and they wanted to run webmail for the first time ever- their quota didn't allow sqwebmail to create the various control files that sqwebmail leaves in the user's maildir. our fix was to have the tech support person access the user's mailbox using pine (or another imap client) and delete two or three of the oldest messages, especially if the messages were obviously spam. > This is true since when this error occur i often find some > sqwebmail-* (sqwebmail-ip or sqwebmail-timestamp the major) files that > get owned by root (not by vpopmail) with 700 permission, if i do an > chown vpopmail:vchkpw sqwebmail-* everything return ok. > > Now i sometimes get the same error in .Sent directory or so... and the > user's get other's permission problem. > > Why sometimes some files get owned by root instead of vpopmail ? it's > an sqwebmail bug? do you alread know this problem or it's a new stuff ? i never saw any files be created as owned by root... i think i would check your authentication setup, make sure you understand how it works, and see when/if it's possible that sqwebmail may stay as root without setuid'ing to the owner of the mailbox (or maybe it's reading the mailbox owner uid incorrectly.) i did the authentication there (and on every other mail server i've built) using /etc/userdb files, and every line of my /etc/userdb file has two fields containing "uid=___|gid=___|...", which manually set the numeric uid and gid for that mailbox. good luck! - -- - ---------------------------------------- | John Simpson Programmer at Large | | <[EMAIL PROTECTED]> http://www.jms1.net/ | - ---------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9kHvvEB9RczMG/PsRAmNwAJ930qfQM9lqZjUJD6aAmrkJ2VYzxACePA28 x3vVb0d7Jw1u3hZ1kIVwANU= =1Ind -----END PGP SIGNATURE-----
