Re: [Exim] ACL to ALLOW only mentioned attachments type and …

Top Page
Delete this message
Reply to this message
Author: Dilip M
Date:  
To: Jeff Lasman, exim-users
Subject: Re: [Exim] ACL to ALLOW only mentioned attachments type and block *
On Sat, 27 Mar 2004 13:37:33 -0800, Jeff Lasman <blists@???>
wrote:

> On Friday 26 March 2004 11:23 am, Tom Kistner wrote:
>
>> Brain fart. This must be:
>>
>> deny message = We only allow .zip and .pdf file attachments
>>       !condition = $mime_is_rfc822
>>       !condition = ${if eq{$mime_content_disposition}{inline}{1}{0}}
>>       condition = $mime_filename
>>       !condition = ${if match \
>>                          {${lc:$mime_filename}} \
>>                          {\N(\.zip|\.pdf)$\N} \
>>                       {1}{0}}

>
> I _almost_ (but not quite) feel a bit dumb for asking this question...



Not really !! its just like blocking everything and allowing that we want
!!

Similar to Basic firewall policy :)