On Tue, Mar 13, 2007 at 02:24:38PM +0200, unaos wrote:
> very nice to see the example of realisation, if u have for the both
> questions please.

Here is an example of MIME ACL:

acl_smtp_mime          = acl_check_mime

[...]

acl_check_mime:
        deny
                message         = Attachment: $mime_filename
                condition       = ${if 
match{$mime_filename}{\N\.(bat|btm|cmd|com|cpl|dll|lnk|msi|pif|prf|reg|scr|vbs|url|exe)$\N}}
        accept

Change message to one you need. Change extensions to ones you need. 

Partially the same realization with DATA ACL and demime:
acl_smtp_data          = acl_check_data

acl_check_data:
        deny
                message         = Attachment: $found_extension
                demime          = 
bat:btm:cmd:com:cpl:dll:lnk:msi:pif:prf:reg:scr:vbs:url:exe
        accept

-- 
Kind Regards,   Alexander Shikoff
[EMAIL PROTECTED]
Mob.: +380 67 946 31 49

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to