I was just wondering what the current status of fastcgi support for
sqwebmail is.

I had to make a trivial change to make it compile and link against
fcgi-2.4.0 - see attached.

However it doesn't actually work very well: at best I get a blank page after
logging in, and soon after even that doesn't work.

sqwebmail starts off with root privileges, but once it's given them up, I
can't see how it's intended to get them back. In my particular environment I
am running with all mail accounts under the same userid (which is not the
same as the webserver uid), so perhaps if I install suexec it will work.

Or am I barking up the wrong tree - has fastcgi support in sqwebmail been
deprecated? Does anyone else have it working?

Regards,

Brian.
--- sqwebmail-3.5.0/sqwebmail/sqwebmail.h.orig  Fri Dec  7 12:55:39 2001
+++ sqwebmail-3.5.0/sqwebmail/sqwebmail.h       Sun Mar  9 20:34:54 2003
@@ -93,7 +93,6 @@
 #define        ISCTRL(c)       ((unsigned char)(c) < (unsigned char)' ')
 
 #if HAVE_LIBFCGI
-#include "fcgi_config.h"
 #include <stdlib.h>
 #include "fcgi_stdio.h"
 #endif
--- sqwebmail-3.5.0/cgi/cgi.h.orig      Sun May 20 02:54:58 2001
+++ sqwebmail-3.5.0/cgi/cgi.h   Sun Mar  9 20:41:27 2003
@@ -14,7 +14,6 @@
 #endif
 
 #if HAVE_LIBFCGI
-#include "fcgi_config.h"
 #include <stdlib.h>
 #include "fcgi_stdio.h"
 #endif
--- sqwebmail-3.5.0/http11/http11.h.in.orig     Sun Mar 26 19:20:26 2000
+++ sqwebmail-3.5.0/http11/http11.h.in  Sun Mar  9 20:43:42 2003
@@ -15,7 +15,6 @@
 #endif
 
 #if HAVE_LIBFCGI
-#include "fcgi_config.h"
 #include <stdlib.h>
 #include "fcgi_stdio.h"
 #endif
--- sqwebmail-3.5.0/cgi/cginocache.c.orig       Mon Apr  1 20:59:34 2002
+++ sqwebmail-3.5.0/cgi/cginocache.c    Sun Mar  9 20:43:29 2003
@@ -7,7 +7,6 @@
 ** $Id: cginocache.c,v 1.4 2002/04/01 19:59:34 mrsam Exp $
 */
 #if HAVE_LIBFCGI
-#include "fcgi_config.h"
 #include <stdlib.h>
 #include "fcgi_stdio.h"
 #else

Reply via email to