We're running that combination here, along with .procmail and .qmail
files in each virtual user's home directory.  Anything SpamAssassin
marks as spam gets sent to the user's Spam folder accesible via
sqwebmail, instead of being downloaded via POP.  The solution runs
great, but something is occasionally corrupting the .qmail files,
causing delivery failures.

The .qmail file:

|preline /usr/bin/procmail -p -m .procmailrc

becomes:

&|preline
&/usr/bin/procmail

vpopmail.vchkpw own the file, and permission is set to 600 (u=rw g= o=).

Here's the relevence to this list:  I changed permissions on .qmail to
400 (u=r g= o=), and now, when I try to change the user's password using
qmailadmin, I'm getting the following error:

Server error!

The server encountered an internal error and was unable to complete your
request.

    Error message:
Premature end of script headers: qmailadmin

If you think this is a server error, please contact the webmaster
Error 500

However, the password does change.

Obviously, the least painful thing to do is to change the permissions on
all our user's .qmail files to 400 and let the chips fall where they may
regarding passord changes.  This is not the *best* solution.  Has anyone
seen this before, and is there a solution to this?

Versions:

qmailadmin 1.0.4
vpopmail 5.3.6
sqwebmail 3.5.1


Thanks in advance.

-Matt Gourley
Sysadmin
Getwireless.net


Reply via email to