2

Some of my mail users are forwarding their mails to gmail for example. In some cases my Amavis lets some spam messages slip through. These mails are then bounced by gmail as they are spam. My postfix then tries to send non-delivery notifications to the (forged) from addresses, known as backscatter.

How can I stop postfix from sending non-delivery notification for mails that have bounced while forwarding them? Note I don't want to completely disable non-delivery notifications, only when forwarding mail.

Hokascha
  • 129
  • 6
  • 1
    That's a tough one, as postfix most likely has no idea who forwarded the message, is it done on your server (the forwarding.. procmail for example)? – NickW Apr 27 '17 at 14:04
  • @NickW postfix itself forwards the mails using virtual_alias_maps – Hokascha Apr 28 '17 at 17:10
  • Hmm, possibly you could add a header, that you could then check for on bounce – NickW May 02 '17 at 07:58
  • I have the same problem… in sendmail you can just add a `NAME-request` alias that gets the bounces instead of the sender – mirabilos Sep 19 '22 at 19:34

0 Answers0