This is the current implementation of "reject" footer messages. Wietse
smtpd_reject_contact_information (default: empty) Optional contact information that is appended after each SMTP server 4XX or 5XX response. Example: /etc/postfix/main.cf: smtpd_reject_contact_information = For assistance, call 800-555-0101. Please provide the following information in your problem report: time ($localtime) and client address ($client_address). Server response: 550-5.5.1 <u...@example> Recipient address rejected: User unknown 550 5.5.1 For assistance, call 800-555-0101. Please provide the following information in your problem report: time (Jan 4 15:42:00) and client address (192.168.1.248). Note: this text is meant to make it easier to find the Postfix logfile records for a failed SMTP session. The text itself is not logged to the Postfix server's maillog file. Be sure to keep the text as short as possible. Long text may be trun- cated before it is logged in the senders maillog file, or before it is returned to the sender in a delivery status notification. This feature supports a limited number of $name attributes in the con- tact text. These are replaced by their current value for the SMTP ses- sion: client_address Client IP address client_port Client TCP port localtime Server local time (Mmm dd hh:mm:ss) recipient The address in the RCPT TO command sender The address in the MAIL FROM command This feature supports \n as a request for a line break in the contact text. Postfix automatically inserts after each line break the three- digit SMTP reply code (and optional enhanced status code) from the original Postfix reject message. This feature is available in Postfix 2.8 and later.