atom feed14 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: 534 Message h...
FromSent OnAttachments
Martin ArrietaNov 6, 2003 4:25 pm 
Eduardo RoldanNov 6, 2003 4:48 pm 
Sam VarshavchikNov 6, 2003 5:45 pm 
Eduardo RoldanNov 6, 2003 7:33 pm 
Bill MichellNov 7, 2003 1:36 am 
Bill HackerNov 7, 2003 3:40 am 
Rodrigo SeveroNov 7, 2003 4:16 am 
Jeff JansenNov 7, 2003 5:54 am 
Mitch (WebCob)Nov 7, 2003 8:33 am 
Jeff JansenNov 7, 2003 9:13 am 
Papo NapolitanoNov 7, 2003 9:40 am 
Mitch (WebCob)Nov 7, 2003 9:54 am 
Martin ArrietaNov 7, 2003 1:43 pm 
Sam VarshavchikNov 7, 2003 8:46 pm 
Subject:Re: [courier-users] Re: 534 Message header size
From:Martin Arrieta (necr@intersys.com.uy)
Date:Nov 7, 2003 1:43:58 pm
List:net.sourceforge.lists.courier-users

~# perl -e 'print"Blah: blah\n\n";print"A"x50000' | sendmail necr@intersys.com.uy 534 Message header size, or recipient list, exceeds policy limit. sendmail: Unable to submit message.

it is not working.. and i try to change the courier/submit.C file and i get the same error..

when i have the problem.. the email was send with headers .. and if i remove this line ( > 5000 characters ) i have no problem.

So.. it is not a header problem (i think :) ) and this line is in the body.

tks for your help

bye

El vie, 07-11-2003 a las 14:41, Papo Napolitano escribió:

----- Original Message ----- From: "Mitch (WebCob)" <mit@webcob.com> To: <cour@lists.sourceforge.net> Sent: Friday, November 07, 2003 13:32 Subject: RE: [courier-users] Re: 534 Message header size

I think everyone has missed the issue! (or maybe it's just me ;-)

ruby -e "5001.times {print 'a'}" | sendmail te@test.com

Is really sending 5000 characters of a line of BODY text - right?

So really, what is being viewed as a header problem is a body problem, but really it's not even that.

There is a line length limit in place for email. It is assumed what is feeding "sendmail" will be smart enough to respect that rule?

Perhaps this is a mechanism to prevent buffer overflow, and what you are seeing (assuming the test works on the real "sendmail") is Courier trying to be more secure by preventing huge lines which could lead to those overflows...

You could always pipe your input to awk - and if you are communicating via smtp, then those long lines are illegal anyways.

m/

Try this:

perl -e 'print"Blah: blah\n\n";print"A"x50000' | sendmail us@domain.com

And tell me if you get the 534. Bah, never mind, I'll tell you... IT WORKS.

The problem is you're sending a message WITHOUT headers and Courier expects at least ONE header, so (to Courier) that's not the body, that's the first header. I don't have the RFCs at hand neither I feel like searching/reading them, but I'm pretty sure a message without headers ISN'T RFC compliant.

HTH.-