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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: Dilip M
Υ/ο: Exim-Users (E-mail)
Αντικείμενο: Re: [Exim] ACL to ALLOW only mentioned attachments type and block *
Dilip M wrote:

>> deny message = Bad Attachment
>>       demime  = *
>>      !demime  = txt:gif

>>
>> This should work.
>
>
> No its not !! is it working on ur side ?


I haven't tried it :)

deny message   = Bad Attachment
      demime    = *
      condition = $found_extension
     !demime    = txt:gif


Maybe this works, but I can't try it currently :)

or maybe

deny message = Bad Attachment
     !demine  = :txt:gif


The first colon maybe makes exiscan test for an empty extension :)

Nico