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

Reply via email to