[Top] [All Lists]

Re: How to filter exe attachments with sieve script

2002-03-31 13:58:26

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 where there is an "x_body"
extension that allows you to do stuff like this:

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


<Prev in Thread] Current Thread [Next in Thread>