Re: [Mimedefang] remove disclaimer?

2006-04-26 Thread David F. Skoll
Les Mikesell wrote: > Even worse - it's a multipart/alternative with both text/plain > and text/html versions. And so is the message body... OK. Then you need to check in filter_multipart. If it's a multipart/alternative, then look at the sub-parts. (man MIME::Entity). If the first sub-part i

Re: [Mimedefang] remove disclaimer?

2006-04-26 Thread Les Mikesell
On Wed, 2006-04-26 at 21:06, David F. Skoll wrote: > Les Mikesell wrote: > > > I don't see much except the content to > > distinguish them. > > Is the disclaimer actually attached as a separate text/plain or > text/html part? > > If so, then inside filter, you can do something like this: > > if

Re: [Mimedefang] remove disclaimer?

2006-04-26 Thread David F. Skoll
Les Mikesell wrote: > I don't see much except the content to > distinguish them. Is the disclaimer actually attached as a separate text/plain or text/html part? If so, then inside filter, you can do something like this: if($entity->effective_type eq 'text/html') { # Open the body and read t

[Mimedefang] remove disclaimer?

2006-04-26 Thread Les Mikesell
A recent change in one part of the company's exchange server has resulted in disclaimers being added to messages headed for our RT trouble ticket system. Aside from just being annoying, they end up turning the body text into attachments as they go through the system making it harder to read and re

Re: [Mimedefang] Addressbook as whitelist

2006-04-26 Thread Richard Laager
On Wed, 2006-04-26 at 12:35 -0400, Joseph Brennan wrote: > I've seen this statement from time to time: > > > This email was sent to you by . To ensure delivery directly to > > your inbox please add to your address book today. > > What product works this way? It seems bizarre. We consider all o

Re: [Mimedefang] Addressbook as whitelist

2006-04-26 Thread Kelson
[EMAIL PROTECTED] wrote: Joseph Brennan wrote: This email was sent to you by . To ensure delivery directly to your inbox please add to your address book today. What product works this way? It seems bizarre. Many webmail services (Hotmail, Yahoo, etc.) Outlook Express is another one (IIRC)

RE: [Mimedefang] Addressbook as whitelist

2006-04-26 Thread Matthew.van.Eerde
Joseph Brennan wrote: >> This email was sent to you by . To ensure delivery directly to >> your inbox please add to your address book today. > > What product works this way? It seems bizarre. Many webmail services (Hotmail, Yahoo, etc.) ___ NOTE: If

[Mimedefang] Addressbook as whitelist

2006-04-26 Thread Joseph Brennan
I've seen this statement from time to time: This email was sent to you by . To ensure delivery directly to your inbox please add to your address book today. What product works this way? It seems bizarre. Joseph Brennan Columbia University Information Technology _