Re: [exim] I cannot get demime file extension blocking worki…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: John Robinson
Ημερομηνία:  
Προς: Adrian
Υ/ο: Exim Users
Αντικείμενο: Re: [exim] I cannot get demime file extension blocking working
On 09/11/2006 10:17, Adrian wrote:
> Hi,
>
> I have this simple ACL:
>
> acl_check_data:
>         deny    message = This message contains an unwanted attachment
> type.
>                 demime =
> bat:btm:cmd:com:cpl:dll:exe:lnk:msi:pif:prf:reg:scr:vbs:url:cab:mp2:mp3:mpeg:msi:wma:wmv:zip

>
> It doesn't seem to do anything and I can't see any reference to it
> when running in debug mode. Is there something else I have to do to
> get acl_check_data enabled?


Yes, in the top part of the configuration file you need

acl_smtp_mime = acl_check_data

There should be other acl_x_y = name_of_acl in there too.

Cheers,

John.