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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Brent Clark
Datum:  
To: exim-users
Betreff: 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