On 2/28/2017 1:47 PM, Dirk Stöcker wrote: > Hello, > > in one project I'm sending a bunch of status mails to a number of > different recepients. From time some of them cannot be delivered > (address changes, server misconfigurations, employment changes, ...). > > The bounces from the mail come back to my mail server and should go > to a contractor of us managing the e-mail addresses.
Stop there. The mail envelope sender should direct bounces to the party responsible, and they should deal with the mail directly. Set the envelope sender properly and don't use crappy workarounds. > Now I forward > the mail to an email on their mail server where it arrives, but > later it gets lost somewhere when internal distribution is done. > Probably a mailinglist dropping bounces or something alike. > > I'd like to know if there is an easy way in my postfix instance to > encapsulate the bounce mails (or any email) I get into new mails of > my own containing the bounce and maybe a simple text like "E-Mail > delivery issue for ...", so it is no longer a normal bounce, but a > normal email? If you must do this, hold your nose and pipe the bounce to formail. Or get a better provider. -- Noel Jones