

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
14 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Re: 534 Message h...| From | Sent On | Attachments |
|---|---|---|
| Martin Arrieta | Nov 6, 2003 4:25 pm | |
| Eduardo Roldan | Nov 6, 2003 4:48 pm | |
| Sam Varshavchik | Nov 6, 2003 5:45 pm | |
| Eduardo Roldan | Nov 6, 2003 7:33 pm | |
| Bill Michell | Nov 7, 2003 1:36 am | |
| Bill Hacker | Nov 7, 2003 3:40 am | |
| Rodrigo Severo | Nov 7, 2003 4:16 am | |
| Jeff Jansen | Nov 7, 2003 5:54 am | |
| Mitch (WebCob) | Nov 7, 2003 8:33 am | |
| Jeff Jansen | Nov 7, 2003 9:13 am | |
| Papo Napolitano | Nov 7, 2003 9:40 am | |
| Mitch (WebCob) | Nov 7, 2003 9:54 am | |
| Martin Arrieta | Nov 7, 2003 1:43 pm | |
| Sam Varshavchik | Nov 7, 2003 8:46 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: [courier-users] Re: 534 Message header size | Actions... |
|---|---|---|
| From: | Mitch (WebCob) (mit...@webcob.com) | |
| Date: | Nov 7, 2003 8:33:05 am | |
| List: | net.sourceforge.lists.courier-users | |
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/
-----Original Message----- From: cour...@lists.sourceforge.net [mailto:cour...@lists.sourceforge.net]On Behalf Of Jeff Jansen Sent: Friday, November 07, 2003 5:52 AM To: cour...@lists.sourceforge.net Subject: Re: [courier-users] Re: 534 Message header size
I think we've missed the issue here. (Or I've missed the issue. :-) When you pump 5000 characters to sendmail without a newline in there somewhere then courier is going to the think the entire thing is a header, right? So in that case what you are hitting here is courier's compiled 5000 character header limit.
To disable it you need to edit courier/submit.C in the source code and remove the check for 5000 characters in the header. Look for the line that says
if (l > headerlimit || l > 5000)
and change it to say
if (l > headerlimit)
Now you've got a 100k limit.
Jeff Jansen
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________ courier-users mailing list cour...@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users







