Just as a clarification, what is exactly the logic followed by Postfix here?
When accepting an email postfix accepts any line length, then when delivering if a line is longer than 1000 (CRLF included) it breaks it adding a CRLF and "hoping" nothing gets messed up in the process? Or is there some more smart logic at play here when it comes to breaking non compliant lines? Il Sab 6 Ago 2022, 20:43 Wietse Venema <wie...@porcupine.org> ha scritto: > post...@ptld.com: > > Does postfix through either smtp or submission (or both) force > > line breaks? I am noticing line breaks after every 998 characters > > in the body of plain text messages. > > > > If postfix is the one doing this, is it hard coded or is it a > > variable that can be changed? > > $ postconf -d |grep 998 > lmtp_line_length_limit = 998 > smtp_line_length_limit = 998 > > Changing this does not solve any problem, because MTAs are expected > to do this. > > RFC 5321: > > 4.5.3.1.6. Text Line > > The maximum total length of a text line including the <CRLF> is 1000 > octets (not counting the leading dot duplicated for transparency). > This number may be increased by the use of SMTP Service Extensions. > > Wietse >