Let's say I have an alias m...@mydomain.com for the actual email address
realn...@gmail.com. The actual email address is hidden. We don't want to
expose it to anybody. In some cases we want to reject the email sent to
m...@mydomain.com based on content, sender, etc. When that happens our
postfix server sends a bounce notification email back to the sender
containing something like:

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

... ...

                  The mail system

<*realn...@gmail.com*> (expanded from <m...@mydomain.com>): Command died
with status 100: "filter.pl". Command output: Email contains content that
is not allowed.


The real email address is exposed in this case. Is there a way to not
disclose that? The customized template file specified by
bounce_template_file seems to only control the email content above the "The
mail system" line.

Thanks

-Irvin

Reply via email to