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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Brent Clark
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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