Octavio Uribe | 28 Mar 2002 08:33
Picon
Favicon

How to filter exe attachments with sieve script


Hi, somebody know how to filter exe attachments
(discard or reject) with a sieve script?

Thanks in advance

_________________________________________________________
Do You Yahoo!?
La emoción e intensidad del deporte en Yahoo! Deportes. http://deportes.yahoo.com.mx

Nigel Swinson | 31 Mar 2002 22:21

Re: How to filter exe attachments with sieve script


> Hi, somebody know how to filter exe attachments
> (discard or reject) with a sieve script?

The Sieve language was written with no tests against the body of a message.
It was deemed to be too costly to have to search the content of a
potentially very large message.  However you may find some implementations
that support some kind of extension test that allow you to check the content
of a message.  One example is in www.mailsite.com where there is an "x_body"
extension that allows you to do stuff like this:

x_body :regex "filename=".+\.exe"

Nigel


Gmane