Michael McCallister:
> Hello,
>
> I currently use relay_domains and relay_transport as a means to relay
> email on to another mail server which hands off to the MDA. Everything
> works well. Occasionally there may be a delivery problem when talking
> to the relay_transport that results in a bounce being generated by
> postfix - an expected behavior of any MTA. What I need to do is hide
> details (the IP address) of the relay_transport in the bounce message
> due to security concerns. I tried using the bounce template
> configuration to do this, but postfix adds this information anyways. Is
> there any way to hide this information?
Is this about the RECEIVED headers in the undeliverable message? If so
then you need a content filter or header_checks rule.
Is this about the remote hostname[address]:port in the server response?
If so then you need Postfix 2.12 with smtp_delivery_status_filter to
sanitise the delivery status message.
Wietse