Tom Sommer: > On 2018-08-09 14:57, Wietse Venema wrote: > > Tom Sommer: > >> I still fail to see how to inject the $smtp_code for the stream into > >> the > >> string at a precise position, but I gather it's possible somehow so I > >> will keep digging. > > > > One more time: > > YOU don't insert status codes into the footer. > > POSTFIX inserts those for you. > > Okay, so then we are back to my original feature request and me not > understanding how a smtpd_reject_footer_maps would enable me to do so :) > > Sorry for the noise, I guess.
For those who find this thread via a search engine. You specify "\n" in the reply footer text. Postfix replaces that with: 1 - One line break plus 2 - One SMTP reply code plus 3 - One optional enhanced status code. Wietse