Re: [EXIM] Stopping ill-formed MIME messages.

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Ring, John C
CC: exim-users
Assunto: Re: [EXIM] Stopping ill-formed MIME messages.
On Fri, 26 Jun 1998, Ring, John C wrote:

> I just started looking into this problem a few minutes ago, but would it
> be possible to configure Exim to redirect any messages passing through
> Exim to a given mailbox (or even just drop them) if the following
> condition is true?
>
> A line such as
>
> Content-Disposition: attachment; filename=(jpeg-im.bmp
>
> or
>
> Content-Description: (jpeg-im.bmp
>
> exists in the message!
>
> Any hints/suggestions welcome; even if it's simply "no, you can't with
> Exim"!


If they are for a local domain, try a director like:

xxxxxx:
driver = smartuser
condition = ${if match{$h_content-disposition:}{attachment....}{yes}{no}}
new_address = given@mailbox



-- 
Philip Hazel                   University Computing Service,
P.Hazel@???          New Museums Site, Cambridge CB2 3QG,
ph10@??? (sic)       England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***