Re: Premature end of script headers: sqwebmail

Brian Candler <[email protected]> Sat, 29 May 2004 09:58:53 +0100
Newsgroups gmane.mail.sqwebmail
Message-ID <[email protected]>
On Sat, May 29, 2004 at 01:49:23AM -0700, Sagara Wijetunga wrote:
> Please note, above --enable-cgibindir is not my real
> Apache CGI path.
> 
> After the SqWebMail is installed, I copied the
> sqwebmail CGI stub from the ?enable-cgibindir to my
> real CGI path and configured user and permissions to
> suit Apache suEXEC.

sqwebmail does not need suexec. The CGI should run unprivileged as the
webserver owner; it talks down a socket to sqwebmaild which runs as root.
I'm not sure if suEXEC will actually *stop* sqwebmail working, but I suggest
you take it out of the loop to eliminate this as a potential problem.

Make sure you started sqwebmaild and authdaemond using

  /usr/local/share/sqwebmail/libexec/sqwebmaild.rc start

Brian.