I'm running exim4 (4.76) on Ubuntu 12.0.4.4.
exim4 is set up to handle mail for mydomain.com. I have aliases set up that forward [email protected] to [email protected]. I have SpamAssassin set up to work in conjunction with exim4 (via sa-exim.conf).
Sometimes spam is sent to [email protected] and SpamAssassin assigns it a low enough score that it forwards it to [email protected]. GMail rejects the message as spam, so my exim4 server attempts to send a message back to the spam address saying:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[email protected]
(generated from [email protected])
SMTP error from remote mail server after end of data:
host gmail-smtp-in.l.google.com [2607:f8b0:4003:c02::1a]:
550-5.7.1 [xxxx:yyyy::zzzz:aaaa:bbbb:ccccc 12] Our system has detected that
550-5.7.1 this message is likely unsolicited mail. To reduce the amount of spam
550-5.7.1 sent to Gmail, this message has been blocked. Please visit
550-5.7.1 http://support.google.com/mail/bin/answer.py?hl=en&answer=188131 for
550 5.7.1 more information. c15si25934770obf.31 - gsmtp
I don't want this email sent back to the spam address because it reveals "[email protected]", the destination of an alias.
How can I either remove "[email protected]" from the reject email, or suppress that reject email altogether?