5 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] CGI environment excee...
FromSent OnAttachments
Mark ConstableJan 30, 2006 3:52 pm 
Sam VarshavchikJan 30, 2006 4:10 pm 
Mark ConstableJan 30, 2006 5:07 pm 
Sam VarshavchikJan 30, 2006 5:26 pm 
Mark ConstableJan 30, 2006 7:03 pm 
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] CGI environment exceeds allowed maximum sizeActions...
From:Mark Constable (mar@renta.net)
Date:Jan 30, 2006 5:07:15 pm
List:net.sourceforge.lists.courier-sqwebmail

On Tuesday 31 January 2006 10:10, Sam Varshavchik wrote:

Would anyone happen to know of some workarounds for this problem ?

Let's increase the max. allowed.

diff -U3 -r1.19 sqwebmail.h --- sqwebmail.h 29 Feb 2004 20:30:56 -0000 1.19 +++ sqwebmail.h 31 Jan 2006 00:09:47 -0000 @@ -34,7 +34,7 @@ /* Socket filename */

#define SOCKFILENAME SOCKDIR "/sqwebmail.sock" -#define SOCKENVIRONLEN 4096 +#define SOCKENVIRONLEN 8192

#define VALIDCGIVAR(p) \ (strncmp((p), "DOCUMENT_", 9) == 0 || \

Thank you Sam. A simple enough solution.

Unfortunately I run too many Debian based servers to be patching courier and maintaining that patch through upgrades. I was kind of hoping there may have been a well known apache BrowserMatch tweak that might force IE to behave. Anyone?

I'm ready to go run and hide under a rock but here goes anyway... is there any chance the patch above could become an official upstream change ?

I know you hate pandering to other folks lame and buggy software but surely a good proportion of sqwebmail users are being affected by this.

--markc