Skip to main content


rfc2822_max_line_length — rfc2822 conformance


rfc2822_max_line_length = [ "ignore" ] [ "pedantic" ] [ "fix" ]

rfc2822_max_line_length = 2048


RFC2822 requires that the maximum length of a single line of a message be no longer than 998 characters.

The default, "ignore," behavior is to ignore the length of the lines and process the email normally regardless.

If you would prefer to reject messages that do contain a line with more than 998 characters, the "pedantic" option can be used.

If you would prefer to accept messages with more than 998 characters on a line and have Momentum fix those messages by breaking up lines with more than 998 characters a value of "fix" may be specified.

This option can be set to a numeric value. When rfc2822_max_line_length_policy is set to a value other than none, it is recommended that rfc2822_max_line_length be set to a numeric value greater than the RFC guideline. For example, rfc2822_max_line_length = 2048.


rfc2822_max_line_length is valid in the global and the pathway scopes.

See Also

Was this page helpful?