While looking at my mail queue I noticed the server was attempting to send back a bounce email, presumably to a spammer. Reading the error, I noticed that it was revealing the expanded value of a virtual alias. Is there any way to hide this address and keep it transparent?
I have my aliases set up as
email@example.com firstname.lastname@example.org in the alias file, and here is the mail content:
This is the mail system at host myhost.tld. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <email@example.com> (expanded from <firstname.lastname@example.org>): host gmail-smtp-in.l.google.com[184.108.40.206] said: 552-5.7.0 Our system detected an illegal attachment on your message. Please 552-5.7.0 visit http://mail.google.com/support/bin/answer.py?answer=6590 to 552 5.7.0 review our attachment guidelines. 37si2240042ibi.37 (in reply to end of DATA command)