Re: sendmail corrupts long header From




I suppose that checking RFC5321 at sections 4.5.3.1.{1,2,4} could be a
start?

My example doesn't violate any of these sections. It is header From with
4 strings of 75 (about) chars in length.

well? 4*(64+N) used to be bigger than 256.

Is it "Local-part", "Domain" or "Command Line"? No, I think.

Maybe this can be applied:
4.5.3.1.3. Path
   The maximum total length of a reverse-path or forward-path is 256
   octets (including the punctuation and element separators).

Do you mean that the huge unreadable lines you quoted are not
only unreasonable headers but real SMTP <path>s ???
No, it's header. I thought, "reverse-path or forward-path" is a
header.

Then, maybe,
4.5.3.1.6. Text Line
The maximum total length of a text line including the <CRLF> is
1000
octets (not counting the leading dot duplicated for transparency).
This number may be increased by the use of SMTP Service Extensions.

But strings in my case are not such long.

Now, mind that on each relay your mails will pass through you may
find their mailmasters enforced some header size settings,
see in the cf/README about confMAX_MIME_HEADER_LENGTH
(eg grep -C3 confMAX_MIME_HEADER_LENGTH /usr/share/sendmail-cf/README)
My usual settings are 256/128 and I think you'll meet this setting
on many other relays than mine.
This parameter doesn't apply for From, I think. It's for headers in $=
{checkMIMETextHeaders}.

Also, Postfix accepts such headers without problems.
.



Relevant Pages

  • Re: [Full-Disclosure] broken virus / worm email has attachment not found by grisoft proxy scanner
    ... `strings` the binary, it has some strings that would lead you to believe ... :line, a line of text, mime headers. ... :which is good, but nor does the grisoft email proxy scanner, which is ... :I tried to talk to grisoft about this, but all I get back is "you have ...
    (Full-Disclosure)
  • Re: Attachments - Missing!!
    ... her settings in Outlook 2003 look the same as the other ... I can't find any differences with their settings. ... Message size doesn't indicate any attachment, but within the headers it ... Microsoft Mail Internet Headers Version 2.0 ...
    (microsoft.public.outlook)
  • RE: [SLE] Mouse so fast and video settings not sticking
    ... > everytime I reboot it ask me to configure the monitor ... > settings down to 1.0 and once again upon reboot it's ... Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com ...
    (SuSE)
  • Re: [PHP] Is there a open_basedir and curl followlocation bypass/fix?
    ... So open_basedir settings are mucking with curl's CURLOPT_FOLLOWLOCATION? ... That seems pretty whack to this naive reader... ... Guess you are stuck reading the headers and doing as many more ...
    (php.general)
  • Re: Incorrect paper size displayed Office 2003
    ... Check the box for "Discard my customized settings and restore default ... I went in and told word to show headers and the page size ... I looked for several ways to reset the page ... Incorrect paper size in MS Word display ...
    (microsoft.public.office.misc)