Re: [exim] CLSID attachment blocking

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: David
Ημερομηνία:  
Προς: Stephen Gran
Υ/ο: exim-users
Αντικείμενο: Re: [exim] CLSID attachment blocking
Hi !!

> This is supposed to block files with CLSID extensions in their name.
> Unfortunately, the test from testvirus.org makes it through this without
> a problem, so it clearly doesn't work that well. Comparing them, I see
> this:


If you use exiscan, this will do the job:

acl_check_mime:

   deny   condition   = ${if match {$mime_filename}\
                         {\N\{[a-hA-H0-9-]{25,}\}\N}{yes}{no}}
          message     = Blacklisted extension (CLSID)


--
Best regards ...

It's a fine line between fishing & standing still

----------------------------------------------------------------
    David Saez Padros                http://www.ols.es
    On-Line Services 2000 S.L.       e-mail  david@???
    Pintor Vayreda 1                 telf    +34 902 50 29 75
    08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------