Re: Modifying body content before delivering

2010-05-21 Thread Victor Duchovni
On Fri, May 21, 2010 at 09:33:51PM +0200, Jeroen Geilman wrote: > Mail that does not contain a text-only representation of the content may > safely be dropped, since it violates the RFCs. This is false. No RFC requires a text/plain message body. -- Viktor. P.S. Morgan Stanley is looki

Re: Modifying body content before delivering

2010-05-21 Thread Jeroen Geilman
On 05/20/2010 09:31 AM, Ansgar Wiechers wrote: On 2010-05-20 Jeroen Geilman wrote: On 05/19/2010 10:30 PM, Alex wrote: Is it possible to strip the entire HTML content and pass only the text? Perhaps the right way to say it would be to pass only the MIME text and strip everything else?

Re: Modifying body content before delivering

2010-05-20 Thread Ansgar Wiechers
On 2010-05-20 Jeroen Geilman wrote: > On 05/19/2010 10:30 PM, Alex wrote: >> Is it possible to strip the entire HTML content and pass only the >> text? Perhaps the right way to say it would be to pass only the MIME >> text and strip everything else? > > I found this fantastic little util called "ma

Re: Modifying body content before delivering

2010-05-19 Thread Jeroen Geilman
On 05/19/2010 10:30 PM, Alex wrote: Hi, You can use smtp_header_checks and smtp_body_checks with the REPLACE action to make minor changes to mail content during delivery. These are rather simple tools by design, best suited for easily defined transformations. Thanks for the notes. I

Re: Modifying body content before delivering

2010-05-19 Thread Noel Jones
On 5/19/2010 3:30 PM, Alex wrote: Hi, You can use smtp_header_checks and smtp_body_checks with the REPLACE action to make minor changes to mail content during delivery. These are rather simple tools by design, best suited for easily defined transformations. Thanks for the notes. If I were to

Re: Modifying body content before delivering

2010-05-19 Thread Alex
Hi, > You can use smtp_header_checks and smtp_body_checks with the REPLACE action > to make minor changes to mail content during delivery.  These are rather > simple tools by design, best suited for easily defined transformations. Thanks for the notes. If I were to do it the right way, how would

Re: Modifying body content before delivering

2010-05-19 Thread Noel Jones
On 5/19/2010 6:50 AM, Alex wrote: Hi, Where can I go to find information on how to modify the content of the body of an email before delivering? I would like to experiment with changing "curse words" or removing URLs like "" ? I realize there are all kinds of problems with doing this, such as

Modifying body content before delivering

2010-05-19 Thread Alex
Hi, Where can I go to find information on how to modify the content of the body of an email before delivering? I would like to experiment with changing "curse words" or removing URLs like "" ? I realize there are all kinds of problems with doing this, such as modifying the signature and size of