Hide local IP from non delivery notifications

Claudio Corvino c.corvino81 at gmail.com
Tue Feb 14 17:27:58 UTC 2023

Hi everyone,

I have an external MTA configured with Postfix that delivers email to an
internal IMAP/LMTP Dovecot server configured to bind an LDAP to check if
users exist.

If the user does not exist, my MX sends a non delivery notification, and
into the e-mail there's the local IP address of the Dovecot server.

I can't find a way to remove or hide that IP, here is an example of line
that contains the IP (with X) that I would like to hide/remove:

*"The mail system<user at domain>: host hostname.domain.com
<http://hostname.domain.com>[XXX.XXX.XXX.XXX] said: 550"*

Thanks in advance!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20230214/ab18e7c3/attachment.htm>

More information about the dovecot mailing list