Jiri Vitek: > On Tue, 2015-05-19 at 06:58 -0400, Wietse Venema wrote: > > Jiri Vitek: > > > Does someone have any idea how reach my targets: rewrite subject of > > > undelivered message with the original one? > > > > > > I can write script which will do the modification. But i don't know how > > > get these messages to this script. > > > > > > I have to do it on postfix, because mailboxes are on another server... > > > > You could use an external content filter, by using multiple Postfix > > instances (instead of Postfix's built-in content filter which does > > not filter bounces): > > > > postfix1 -> filter -> postfix2 > > > > Multi-instance support is described in > > http://www.postfix.org/MULTI_INSTANCE_README.html, which even has > > a content filter as a use case. Unfortunately this feature used to > > be broken on some Linux distros. > > > > Wietse > > Ok, i understand but i'm not sure how to configure postfix1 to try > deliver message and generate bounce message which i need to filter?
I do not understand why postfix1 would accept mail and then bounce it. Wietse