Re: sendmail corrupts long header From



Tue, 15 Sep 2009 03:20:12 -0700, vova did cat :

I still think that this size is quite overdone and I'd think you have a
mail client problem, (and the crossed encoding may be in cause)
 How did you test your cases?
 Was it from command line with sendmail or is your post just
a paste from what your destination mail client shows?
 Or what ?-) please describe your bench.

Originally it was sent by one of my users via Thunderbird. Then I get
raw message from server and now test it with bash script:

nc <server> 25 <<TEXT
helo mail
mail from: vova@xxxxxxxxxxx
rcpt to: vova@xxxxxxxxxxx
data
<data>
.

TEXT

Also, I can easily reproduce it with Thunderbird.

Alright, I think you already found out the answer but I
was too fast to discard it as I mixed up a bit what your
headers were and what I first supposed they were,
probably just dazed and abashed at the sight of your gigantic
"From:" fields ;-)

You spotted that very point:
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).

As I understand it, when your mail goes out (not local) the
From: field (and/or Reply-to: et al.) becomes a possible
reverse-path hence it should bear no more than 256 chars.
Now I hope someone who can read the RFCs better than me
will come around and give the correct answer and/or correct
formulation :D)
.



Relevant Pages

  • sendmail issue.
    ... I'm having this strange behaviour with sendmail when I try to send an email ... using the command line or a mail client to a specific domain: ... My mail server is able to send messages to any other domain. ... When I use the "mail" command to send email, ...
    (RedHat)
  • Re: sendmail corrupts long header From
    ... a mail client problem, ...  Was it from command line with sendmail or is your post just ... Originally it was sent by one of my users via Thunderbird. ...
    (comp.mail.sendmail)
  • /usr/bin/mail problem
    ... I attempt to send a message using the mail client at the command line I'm ... My guess is that this involves interaction between mail and sendmail ... happening before I installed MessageWall. ...
    (freebsd-isp)
  • quey msg size to client
    ... Is there way for sendmail to know msg size before mail client sends ... Before command "data" ...
    (comp.mail.sendmail)
  • Re: Query: Patches break with Microsoft exchange server.
    ... exchange server. ... We are using thunderbird as mail client. ... This doesn't happen with every patch on thunderbird, ...
    (Linux-Kernel)