Guillaume Rehm:
> Hi list,
>
> I would known if Postfix is able to rewrite body messages.
>
> I would translate mails comes from an application by Pattern
>
> Exemple:
>
> From: [email protected] To: [email protected] Subject:MyApp Body:[Item1]
> toto [Item2] titi
>
> To
>
> From: [email protected] To: [email protected] Subject:MyApp Body:[Text for
> Item1] toto [Text for Item2] titi
Postfix has limited rewriting built-in (the body_checks REPLACE,
IGNORE and PREPEND actions).
For heavy-duty content rewriting, you need to use an external
(preferably SMTP-based) content filter, or a Milter application.
SMTP-based proxy filters are widely available. See FILTER_README
for how to put this into Postfix. The Milter interface is documented
in the MILTER_README file. Writing Milter applications is for the
very courageous.
Wietse