braham--- via Postfix-users: > Issue: I have a postfix cluster for outgoing mail. When the mail header > or any line exceeds the line_length_limit then the email is broken. As > per the doc, postfix breaks the line and reconstructs at the time of > delivery, but this is not happening. Also, the breaking of line is done > by two /r/n. That's why it breaks the mail in incoming, since /r/n/r/n > is considered as the end of headers.
First, you can't send SMTP messages with lines > 1000 including the <CR><LF>. See https://datatracker.ietf.org/doc/html/rfc5321#section-4.5.3.1.6 You will have to fix yoru mail sending app to fold header lines and split body lines. Second, your observation is incorrect. I just sent myself a message with To: wietse Subject: [2081 bytes] From: Wietse Venema <wietse> Body. And it arrived intact. This was submitted using "/usr/sbin/sendmail -t <file", and it was delivered to the local mailbox in /var/spool/mail. I also sent that same message over SMTP. In this case, the Subject line was split after 998 bytes, by inserting <CF><LF><SPACE>. This DID NOT change the end of headers. I suspect that you were using /bin/mail or /usdr/bin/mailx or some other tool that broke the header line before Postfix received the message. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org