Antispam Filter

Reikor

Verified User
Joined
Aug 27, 2009
Messages
35
All we know every user in the control panel have an option called antispam filter.
And is like the image im attaching.
antispam.jpg

Anyone can tell me how can i setup/edit/install a software/file/config to make this filter works for all the domains in the server?
I mean the word filtering process.

Thanks.
 
All we know every user in the control panel have an option called antispam filter.
And is like the image im attaching.
antispam.jpg

Anyone can tell me how can i setup/edit/install a software/file/config to make this filter works for all the domains in the server?
I mean the word filtering process.

Thanks.


All you need is to update /etc/system_filter.exim to fit your needs, the original file can be downloaded from this link
http://files.directadmin.com/services/system_filter.exim
 
All you need is to update /etc/system_filter.exim to fit your needs, the original file can be downloaded from this link
http://files.directadmin.com/services/system_filter.exim

Supose i want to add some of the filters in the image. How can i add them into this code fo the system_filter.exim ?

if $message_body matches "Content-Type:(mainalertstoday)[\\\\s;]"
then
if $return_path is ""
then
seen finish
endif
fail text "This message has been rejected because it has\n\
a unquoted filename with a space, and\n\
a potentially executable attachment\n\
\t$1\n\
This form of attachment has been used by\n\
recent viruses or other malware.\n\
If you meant to send this file then please\n\
package it up as a zip file and resend it."
seen finish
endif


Thanks.
 
Back
Top