On 26/05/18 08:03, Luca Bertoncello via Exim-users wrote: > My problem: I have an "info@"-address that forwards the E-Mails to other > addresses, some on them outside my servers. > > Well, unfortunately this address catches many Spam/junk E-Mails and, of > course, my Exim (4.88) tries to forward them. > Virus are blocked and will __NOT__ be forwarded, but Spam is some other and, > of course, I cannot be sure if an E-Mail is Spam or not, so I have to forward > it... > > Now, some recipient (in this case: Google) refuse some E-Mail if they are > Spam (in the "mind" of Google), so a bounce will generated. > All correct, but...
But you're better-off never accepting the message. Consider doing cutthrough-routing for these; this means that if the site you are forwarding to (Google) refuses the message even as late as after-data (which, given they need to analyse the body, is likely) then so do you (for the originator talking to you). > ... sometimes the E-Mail __IS__ spam and the sender cannot be contacted since > his server refuse my bounces. > It results in many bounces in my Exim-queue. This is where sender-verify callouts are useful, despite some people regarding them as bad. But if you're doing cutthrough you don't even need that. > Now the question: can I configure Exim to simply delete these bounces > (identified by refused from Google)? The trick is to never accept these messages, so that no bounce is generated. -- Cheers, Jeremy -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/