Index of /services/easy_spam_fighter

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[DIR]1.3/ 2015-01-03 04:58 -  
[DIR]1.4/ 2015-01-03 04:59 -  
[DIR]1.5/ 2015-01-04 19:16 -  
[DIR]1.6/ 2015-01-05 06:52 -  
[DIR]1.7/ 2015-03-06 00:43 -  
[DIR]1.8/ 2015-05-01 05:14 -  
[DIR]1.9/ 2015-05-01 20:30 -  
[DIR]1.10/ 2015-12-15 03:50 -  
[DIR]1.11/ 2016-05-15 02:57 -  
[DIR]1.12/ 2016-09-16 17:31 -  
[DIR]1.13/ 2016-10-18 17:10 -  
[DIR]1.14/ 2016-10-25 17:42 -  
[DIR]1.15/ 2017-01-05 18:14 -  
[DIR]1.16/ 2018-02-10 19:16 -  
[   ]exim.easy_spam_fight..>2014-09-09 05:01 3.7K 
[   ]exim.easy_spam_fight..>2014-09-17 04:02 3.8K 
[   ]exim.easy_spam_fight..>2014-09-19 03:29 3.8K 
[   ]exim.easy_spam_fight..>2014-11-03 03:23 3.5K 
[   ]exim.easy_spam_fight..>2015-01-04 05:12 3.8K 
[   ]exim.easy_spam_fight..>2015-01-04 19:11 3.7K 
[   ]exim.easy_spam_fight..>2015-01-05 06:59 4.0K 
[   ]exim.easy_spam_fight..>2015-05-01 05:05 4.0K 
[   ]exim.easy_spam_fight..>2015-05-01 05:14 4.0K 
[   ]exim.easy_spam_fight..>2015-12-08 03:38 4.0K 
[   ]exim.easy_spam_fight..>2016-04-07 04:41 4.0K 
[   ]exim.easy_spam_fight..>2016-08-26 12:00 4.6K 
[   ]exim.easy_spam_fight..>2016-09-16 17:35 4.6K 
[   ]exim.easy_spam_fight..>2016-10-18 17:10 4.7K 
[   ]exim.easy_spam_fight..>2016-10-25 17:41 4.8K 
[   ]exim.easy_spam_fight..>2017-10-08 15:08 4.8K 
[   ]exim.easy_spam_fight..>2018-02-10 19:16 4.8K 

Easy Spam Fighter

Credit to http://olicomber.co.uk/blog/b/Easy,_reliable_spam_fighting_with_Exim

this version has been modified for use with a DirectAdmin System.
It requires a minimum of exim.conf 4.3.x and exim.pl 20

It also requires exim be compiled with EXPERIMENTAL_SPF, which can be confirmed with:


CustomBuild 2.0 has been updated to add this to the Makefile at compile time if:
easy_spam_fighter=yes
is set in the options.conf:
Recompile Exim

Installation

See this guide for automated CustomBuild 2.0 install:
http://help.directadmin.com/item.php?id=576


Help

See the forum for issues or questions:
http://forum.directadmin.com/forumdisplay.php?f=89


About

The Easy Spam Fighter (simplied wording from "Easy, Reliable, Spam Fighting, with Exim") is a set of exim ACLs that do various checks, and any check that returns a result (possible spam) it then increases the score (saved and incremented in $acl_m_easy69) At the end of the DATA ACL, if the score is below the limit, run a basic smtp-time SpamAssassin call and add the "int_score to acl_m_easy69. (eg: 2.7 has int score of 27) If already above the limit, don't bother running SpamAssassin, as it will be spam already. This last skip will save CPU processing.

After all that, if the score is above a threshold, the message is rejected, at SMTP-time, and it never enters your queue. If it's below the threshold, multiple headers are added to explain each score.

Files

-- variables.conf

If you want to customize the file, create your own file:
-- variables.conf.custom, and set only the values in this file as desired, and they'll override the defaults. You must use double == in this file, and issue ./build exim_conf to merge to the main conf.


-- check_mail.conf
Does the MX dns checks, SPF record checks, and reverse IP check.

-- check_rcpt.conf
Check on the RBLs and add score

-- check_message.conf
will run SpamAssassin if the score is low enough, but above that score, it doesn't bother.
If run, the int spam score is added.
After, the message is decided if it should be dropped.

-- /etc/virtual/esf_skip_senders
file to hold MAIL FROM addresses that ESF should skip checks for SPF, DKIM.
Uses wildlsearch, so can use *
Does not have to exist

-- /etc/virtual/esf_skip_recipients
file to hold RCPT TO addresses that ESF should skip checks for DKIM, RBL.
Uses wildlsearch, so can use *
Does not have to exist