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

Top Page
Delete this message
Reply to this message
Author: Brent Clark
Date:  
To: exim-users
Subject: 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