Block outgoing spam

ViAdCk

Verified User
Joined
Feb 14, 2005
Messages
300
Hi,

In our constant quest to block outgoing spam, we are testing to block emails by specific words in the subject line using the system_filter.exim file. For example we have the following rule:

Code:
if
  	$header_subject: contains "money"
then
    	seen finish
endif

With this rule all emails containg the word "money" in the subject line will be blocked.

Does anyone know how to edit this rule so it affects only outoing messages?

Any other suggestions on how to block outgoing spam from our servers when an email account gets compromised?

Thanks in advance for your time guys!
 
Hi again,

Does anyone know how to filter the exact match in the exim system_filter? For example we have the following filter:

Code:
if
  	$header_subject: contains "rich"
then
        seen finish
endif

This also blocks the email if the subject has the word "Ulrich" for example which isn't desirable. How can emails be blocked only if the exact word is in the subject line?

Regards
 
I would look into limiting accounts to 10 emails per day, or better per hour / minute...
Account-owner that want to sent out more can request a temporary removal of the limit perhaps.
 
We already have a daily 200 limit per account. Csf also sends us an alert if an account is sending high volumes of mail.

We just want to block it directly without one spam email being sent.
 
Back
Top