I'm trying to make sense of rfc5322 Line Length Limits . Is the line limit 78 chars or 998 chars? Is one for the body and the other for the headers? I can't find anything to specify that.
Each line of characters MUST be no more than 998 characters, and SHOULD be no more than 78 characters, excluding the CRLF.