Re: [Exim] acl for DATA command

Pàgina inicial
Delete this message
Reply to this message
Autor: jzaw
Data:  
A: exim-users
Assumpte: Re: [Exim] acl for DATA command
On Tuesday, Sep 30, 2003, at 16:00 Europe/London, jzaw wrote:

> ###########################################
> #                       ACL CONFIGURATION
> # Specifies access control lists for incoming SMTP mail
> ###########################################

>
> begin acl
>
> acl_check_rcpt:
>
> <snip>
>
>   deny message = This message contains a MIME error ($demime_reason)
>        demime = *
>        condition = ${if >{$demime_errorlevel}{2}{1}{0}}

>
>   deny message = This message contains a nasty evil file extension
> ($found_extension)
>        demime = vbe:vbs:vbx:wsf:wsh:exe:com:cmd:shs:hta:bat:scr:lnk:pif


its been pointed out to me that this might create a little confusion
i snipped too aggressively

there should of course be a acl_check_data: just before the first deny
message

like this

> acl_check_data:
>
>   deny message = This message contains a MIME error ($demime_reason)
>        demime = *
>        condition = ${if >{$demime_errorlevel}{2}{1}{0}}

>


soz about that

Zaw