rfc5322:线路限制是什么?

rfc5322: what are the line limits?

我正在尝试理解 rfc5322 行长度限制 。行限制是 78 个字符还是 998 个字符?一个用于body,另一个用于headers?我找不到任何内容来说明这一点。

Each line of characters MUST be no more than 998 characters, and SHOULD be no more than 78 characters, excluding the CRLF.

意思是,理想情况下,每行的长度不应超过 78 个字符,但绝不能超过 998 个字符。

换句话说,998是硬限制,78是软限制。