Autor: Brent Clark
Data:
A: exim-users
Assumpte: 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