On Fri, Dec 10, 2010 at 02:40:24PM +0100, Gianluca Gargiulo wrote:

> Hello, 
> 
> i hope somebody can help me 
> I must to replace any sub-string in every mail processed by postfix. 
> I set my postfix so: 
> in main.cf 
> 
> body_checks=regexp:/etc/postfix/body_checks 

This is NOT a job for the Postfix MTA. The body content could be encoded
in a variety of ways. body_checks REPLACE is a very crude tool that is
not suitable for this purpose.

I've flagged this message for base64 encoding, take a look at the message
body source, the string "example.com" is nowhere to be seen.

Some users will send message bodies in quoted-printable HTML, some in
base64 encoded plain-text, some will send attachments with a variety of
document formats. MTAs should not be editing email, and cannot reliably
do this without supporting read/write operations for every content format
ever invented.

-- 
        Viktor.

Reply via email to