Tom Sommer:
> It would be nice if smtpd_reject_footer could include variables such as
> the 4.x.x/5.x.x response code or even the full postfix error message,
> this way one could make more helpful errors messages with more helpful
> links.
Better: smtpd_reject_footer_maps. Then you can use a lookup
table (pcre or regexp etc.) to choose the footer dynamically.
It's also less work to implement. Postfix already has tons of example
where it gets a string from a table instead of main.cf variable.
The code that actually adds the footer won't need to be changed.
Wietse