Re: messages bouncing with Message too long (>40000 chars)

Adam Williams <[email protected]> Thu, 07 Feb 2008 16:15:42 -0600
Newsgroups gmane.mail.majordomo.general
Message-ID <[email protected]>
Julian Stacey wrote:
> Reference:
>   
>> From:		Adam Williams <[email protected]> 
>> Date:		Thu, 07 Feb 2008 12:12:52 -0600 
>> Message-id:	<[email protected]> 
>>     
>
> Adam Williams wrote:
>   
>> on a mail list I have, messages w/ attachments bounce with the error 
>> Message too long (>40000 chars).  However, in 
>> /usr/local/majordomo/lists/listname.config I have
>>
>> maxlength = 0
>>
>> so it should let a message of any size go through, right?  So why is it 
>> bouncing messages >40000 characters?
>>     
>
> I dont know the code, but as a C programmer from Way back, if I was
> debugging it, I would be suspiciously looking for a signed int
> declarator in the source, that might somehow still be just living
> in a 16 bit segment world. Which suspicion you might check, if not
> a programmer, by seeing if messages a little less than 2^15 get
> through ie 32767 (allow a bit less for header & footer too perhaps ?
>
> Or maybe its a simple answer eg some other variable name needed ?
>
>   
I figured it out a little while after posting.  The list was named 
REPP.museum and there existed 
/usr/local/majordomo/lists/REPP.museum.config and 
/usr/local/majordomo/lists/repp.musuem.conf.  I deleted 
REPP.museum.config and changed the maxlength = in repp.museum.config and 
all is well now.