https://bugs.exim.org/show_bug.cgi?id=1999

--- Comment #1 from Jeremy Harris <[email protected]> ---
Although CHUNKING is not line-oriented for transmission purposes, RFC 3030
does not release the SMTP obligation on line-length limits.  It could be
argued either way; I can imagine receiver implementations which still have
a limited-size line buffer in the processing path.  On that basis the length
limit should still be applied by a sender for interoperability.

The $max_received_linelength variable could
- be documented as to what it currently does, under CHUNKING.  My guess is
  the it's only counting headers.
- be fixed to count body lines in full, enforcing a performance penalty
  -- possibly with a lazy-evaluation
- be set to a known-invalid value under CHUNKING

We probably also need a variable for observability of CHUNKING.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim 
details at http://www.exim.org/ ##

Reply via email to