Re: email subject length issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 12.04.2017 um 22:03 schrieb Richard:

[ ... ]

A "Subject:" line is just a structured text line in the message body
and MTAs (e.g., sendmail) don't do anything differently with it than
any other line in a message body. The max length is 998 "characters".

No, the subject of a mail message is a defined field and part of the message header, not the body of the message. Just see RFC 5322. Message header and (optional) body are separated by an empty line. While there are specific rules for message header fields there are (nearly) none for the character flow of the mail body (MIME RFCs aside). The 998 character limit per line applies for both the header and the body.

I suspect that your MUA or more likely procmail is where the
truncation is taking place. I just did:

   /bin/mailx -s"... 200+ character subject ..."

on a C6/sendmail machine and it worked fine.

That turned out to be the case as the OP didn't cover folding of long header fields (RFC 5322 2.2.3).

Alexander

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux