Re: [courier-users] submit will not accept messages with a line more than 5000 bytes

2013-03-03 Thread Matus UHLAR - fantomas
Gordon Messmer wrote on 02.03.2013 13:48: I'm not sure if this is intentional or not, but the error given is definitely not descriptive. In submit.C, the getrcpts function loops through each header. If any header line is greater than 5000 bytes, or if any multi-line header is greater than

[courier-users] submit will not accept messages with a line more than 5000 bytes

2013-03-02 Thread Gordon Messmer
I'm not sure if this is intentional or not, but the error given is definitely not descriptive. In submit.C, the getrcpts function loops through each header. If any header line is greater than 5000 bytes, or if any multi-line header is greater than 100,000 bytes, the function will bail out

Re: [courier-users] submit will not accept messages with a line more than 5000 bytes

2013-03-02 Thread Matus UHLAR - fantomas
On 02.03.13 01:48, Gordon Messmer wrote: I'm not sure if this is intentional or not, but the error given is definitely not descriptive. In submit.C, the getrcpts function loops through each header. If any header line is greater than 5000 bytes, or if any multi-line header is greater than 100,000

Re: [courier-users] submit will not accept messages with a line more than 5000 bytes

2013-03-02 Thread Sam Varshavchik
Gordon Messmer writes: I'm not sure if this is intentional or not, but the error given is definitely not descriptive. In submit.C, the getrcpts function loops through each header. If any header line is greater than 5000 bytes, or if any multi-line header is greater than 100,000 bytes, the

Re: [courier-users] submit will not accept messages with a line more than 5000 bytes

2013-03-02 Thread Alexei Yu. Batyr'
Gordon Messmer wrote on 02.03.2013 13:48: I'm not sure if this is intentional or not, but the error given is definitely not descriptive. In submit.C, the getrcpts function loops through each header. If any header line is greater than 5000 bytes, or if any multi-line header is greater than

Re: [courier-users] submit will not accept messages with a line more than 5000 bytes

2013-03-02 Thread Gordon Messmer
On 03/02/2013 06:02 AM, Sam Varshavchik wrote: Yes. Section 2.1.1 of RFC 2822 specifies that the maximum length of a line in a message is 998 bytes. Perfect. I'll bring it up with the rss2email maintainer. I'd imagine the best thing to do would be check the input for long lines and base64