Re: [Exim] Rejecting Attachments

Página Inicial
Delete this message
Reply to this message
Autor: Kevin Sindhu
Data:  
Para: hammerd
CC: exim-users
Assunto: Re: [Exim] Rejecting Attachments
Moin hammerd!
hammerd@??? schrieb am Thursday, den 28. March 2002:

> In case you missed the jist of it, I am a newbie, I have read all
> the instructions I can find. I have read the Exim Interface to Mail
> Filtering. I believe I understand the basics of filtering, what I
> cannot find/understand is the $_Variable that will perform the check
> to see if the message contains the file type I am looking for.


To filter all mail for scr/exe's you can deploy the system_filter
which is available from:

ftp://ftp.exim.org/pub/filter/system_filter.exim

1) To install, copy the filter file (with appropriate permissions) to
/etc/exim/system_filter.exim and add to your exim config file
[location is installation depedant - typicaly /etc/exim/config ] in
the first section the line:-

       message_filter = /etc/exim/system_filter.exim
       message_body_visible = 5000


2) Save the file and HUP the exim daemon process

3) Try to send an e-mail with an exe attachment and see it bounce back
to the sender.

-Kevin

--
A long memory is the most subversive idea in America.