Re: [exim] Trying to block all WAN sent zip emails

Góra strony
Delete this message
Reply to this message
Autor: Brent Clark
Data:  
Dla: exim-users
Temat: Re: [exim] Trying to block all WAN sent zip emails
Renaud Allard wrote:
> Wouldn't be something like this easier?
>
> deny
> hosts = !+relay_from_hosts :
> condition = ${if match {${lc:$mime_filename}} {\N(\.zip)$\N} {1}{0}}
> message = Blacklisted file extension detected in "$mime_filename".

Thanks

This did the trick.

Regards
Brent Clark