Re: sendmail corrupts long header From
- From: Loki Harfagr <l0k1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: 15 Sep 2009 07:57:18 GMT
Mon, 14 Sep 2009 22:48:57 -0700, vova did cat :
Is this bug in sendmail?
If not a bug in sending tools and/or your description of the said
header, it's probably just a question of choice, safe choice in
sendmail and bad choices in sending client implementation of about when
a header size becomes ludicrous.
Unfortunately, my users don't account such header ludicrous)
they could be stateful for internal mail but they
certainly are a bit b(uf|ea)fy for outter space ;-)
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.
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 ???
Strange thing is that sendmail behave differently for different header's
length.
Original header:
From: <text> <user@domain>
If it's "very long", sendmail convert it to From: <user@domain>
(i.e. just drops <text>)
If it's "just long", then
From: <text> <corrupted address>
(i.e. drops chars from the end)
Does anyone know limits and algorithm of processing for long headers in
sendmail?
there are better people than me here that will help you on that side :-)
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.
.
- Follow-Ups:
- Re: sendmail corrupts long header From
- From: vova
- Re: sendmail corrupts long header From
- References:
- sendmail corrupts long header From
- From: vova
- Re: sendmail corrupts long header From
- From: Loki Harfagr
- Re: sendmail corrupts long header From
- From: vova
- sendmail corrupts long header From
- Prev by Date: Re: sendmail corrupts long header From
- Next by Date: Re: sendmail corrupts long header From
- Previous by thread: Re: sendmail corrupts long header From
- Next by thread: Re: sendmail corrupts long header From
- Index(es):
Relevant Pages
|