Re: [exim] Filtering MIME Parts

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Patrick Donahue
Data:  
Para: exim-users
Asunto: Re: [exim] Filtering MIME Parts
Thanks Peter. I tried altermime but unfortunately this can only remove
attachments, not the multipart/alternative I'd like to remove:

------_=_NextPart_001_01C836FB.CF8C6757
Content-Type: multipart/alternative;
        boundary="----_=_NextPart_002_01C836FB.CF8C6757"



------_=_NextPart_002_01C836FB.CF8C6757
Content-Type: text/plain;
        charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable


=20

------_=_NextPart_002_01C836FB.CF8C6757
Content-Type: text/html;
        charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable



Any other ideas?
**


*Author: *Peter Rindfuss
*Date: *2007-12-05 01:522007-12-05 09:52 -800UTC
*To: *exim-users
*Subject: *Re: [exim] Filtering MIME Parts

Patrick Donahue wrote:* *
*> Hello, *
*> *
*> I'm currently using exim and faxmail (http://linux.die.net/man/1/faxmail)
to *
*> route messages to Hylafax (http://www.hylafax.org). Users attach the PDFs
*
*> they would like to fax and send the email to 1XXXXXXXXXX@???. *
*> Unfortunately, when users send these messages from Outlook they come
through *
*> as multipart MIME entities and the first few pages of the fax are filled
*
*> with garbage. Here are the MIME parts: *
*> *
*> 1. The body as HTML or alternatively ASCII *
*> 2. The PDF attachment *
*> *
*> I'd like to somehow strip out #1 so that only the PDF is passed along.
(Even *
*> if the users delete the contents of the body, Outlook still nicely
includes *
*> some HTML formatting). While a simple answer may be "don't use Outlook",
we *
*> don't have that option so I need to handle this on the exim side. *
*> *
*> The messages get routed to faxmail using a router regular expression that
*
*> sends to a faxmail transport that pipes to the application. I've thought
*
*> about using a transport filter, but this seems quite brittle. Any other *
*> solutions out there? *
*> *

Hi Patrick,

Take a look at the free *altermime* program, available at
http://pldaniels.com/altermime


Peter Rindfuss