S?bastien Michel: > +<pre> > +/etc/postfix/main.cf: > + smtpd_reject_footer_maps = > regexp:/etc/postfix/override_smtpd_replies.regexp > + > +/etc/postfix/override_smtpd_replies.regexp: > + /^550 5.1.1 (<[^>]*>):/ \r$1: Adresse destinataire invalide > +</pre> > + > +<p> Server response: </p> > + > +<pre> > + 550 5.1.1 <f...@example.com>: Adresse destinataire invalide > +</pre> > + > <p> Note: the above text is meant to make it easier to find the > Postfix logfile records for a failed SMTP session. The text itself
A basic requirement is that the name of a feature must match its behavior. The purpose of smtpd_reject_footer is to APPEND TEXT, not to REPLACE it. Therefore, smtpd_reject_footer should not replace text. The purpose your feature is to REPLACE TEXT, not to APPEND it. Therefore, your feature should be called smtpd_reject_filter (or smtpd_reply_filter if you want to go all the way). Wietse