Global Antispam Filters (server wide)

inferencia

Verified User
Joined
Aug 21, 2005
Messages
677
Location
Spain
Hello everyone.

I know there are filters for each user in DA. Wondering how I can make exim use some global antispam filter file, so we can block known current spam outbursts for my shared hosting servers.

Any suggestions ?
 
Use the exim system filter.

Code:
# the next line is required to start the system_filter included in    
# DirectAdmin to refuse potentiallly harmful payloads in
# email messages

system_filter = /etc/system_filter.exim
 
How would I use this comparison:

if $message_body matches "________________

I see in the code they use that variable but to search for specific attachment extensions. So would I use it like this to look for text in the body ? :


if $message_body matches "great body"
then ......

?
 
Back
Top