Re: [exim] How to block the mails which contain .exe inside …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ralf Cirksena
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] How to block the mails which contain .exe inside a zip file
Hello Anant,

On Mon, Jan 13, 2014 at 10:22:01PM +0530 you wrote:

> I am new to exim. I want to block all the mails containing
> .exe(attachment) So for that i used that in my exim file
>
> acl_check_mime:
>
>   # File extension filtering.
>   deny message = Blacklisted file extension detected
>        condition = ${if match \
>                         {${lc:$mime_filename}} \
>                         {\N(\.exe|\.pif|\.bat|\.scr|\.lnk|\.com)$\N} \
>                      {1}{0}}

>
> But now my problem is that many of user is sending .exe inside the
> .zip file, Please Guide me how can i block that mails. Any help is
> appriciated.


we do that with mailscanner <http://www.mailscanner.info/>
Mailscanner processes the incoming queue before exim processes
the rest (hopefully clean mails).


--
R. Cirksena