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: t...@domain.com To: u...@domain.com Subject:MyApp Body:[Item1] 
> toto [Item2] titi
> 
> To
> 
> From: t...@domain.com To: u...@domain.com 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

Reply via email to