[email protected]:
> At the end of the message body in bounce.cf postfix appends the error
> received from the mail server. It is not using line breaks \n like i
> expect it would.
>
> POSTFIX:
> --------
> <[email protected]>: host smtp.example.com[IP] said: 550-5.5.1 Address
> [email protected] does not exist 550 5.5.1 This is the text
> returned from main.cf:smtpd_reject_footer (in reply to RCPT TO
> command)
>
> OTHER SERVERS:
> --------------
> <[email protected]>:
> 550: 5.5.1 Address [email protected] does not exist
> 5.5.1 This is the text returned from main.cf:smtpd_reject_footer
That does not match the server response.
> How can i get postfix to use line breaks and format closer to how other
> servers do it?
Sorry, Postfix does not support ASCII art. Seriously, only nerds
care about multiline server responses.
I will reject code changes that introduce newlines in Postfix string
values. It opens up all kinds of abuse, was the cause of a root
shell in Sendmail (unexpected newline in queue file), and unexpected
newlines are a constant problem in web applications.
Wietse