Am 24.09.2014 um 21:46 schrieb Michael McCallister: > 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?
just don't send bounces - it is not a expected behavior the expected behavior is that you reject undeliverable mail and the sender is responsible to generate bounces http://www.postfix.org/ADDRESS_VERIFICATION_README.html#recipient _______________________________________________________ we also realy from our gateway to servers we don't know valid RCPT and list in "skip_rcpt_verification.cf" the domains where we know it smtpd_relay_restrictions = check_recipient_access proxy:hash:/etc/postfix/skip_rcpt_verification.cf reject_unverified_recipient unverified_recipient_reject_reason = User unknown in relay table address_verify_positive_expire_time = 1h address_verify_positive_refresh_time = 55m address_verify_negative_expire_time = 30m address_verify_negative_refresh_time = 30m