Index of /services/easy_spam_fighter

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory   -  
[DIR]1.3/ 03-Jan-2015 03:58 -  
[DIR]1.4/ 03-Jan-2015 03:59 -  
[DIR]1.5/ 04-Jan-2015 18:16 -  
[DIR]1.6/ 05-Jan-2015 05:52 -  
[DIR]1.7/ 05-Mar-2015 23:43 -  
[DIR]1.8/ 01-May-2015 04:14 -  
[DIR]1.9/ 01-May-2015 19:30 -  
[DIR]1.10/ 15-Dec-2015 02:50 -  
[DIR]1.11/ 15-May-2016 01:57 -  
[DIR]1.12/ 16-Sep-2016 16:31 -  
[DIR]1.13/ 18-Oct-2016 16:10 -  
[DIR]1.14/ 25-Oct-2016 16:42 -  
[DIR]1.15/ 05-Jan-2017 17:14 -  
[   ]exim.easy_spam_fight..>09-Sep-2014 04:01 3.7K 
[   ]exim.easy_spam_fight..>17-Sep-2014 03:02 3.8K 
[   ]exim.easy_spam_fight..>19-Sep-2014 02:29 3.8K 
[   ]exim.easy_spam_fight..>03-Nov-2014 02:23 3.5K 
[   ]exim.easy_spam_fight..>04-Jan-2015 04:12 3.8K 
[   ]exim.easy_spam_fight..>04-Jan-2015 18:11 3.7K 
[   ]exim.easy_spam_fight..>05-Jan-2015 05:59 4.0K 
[   ]exim.easy_spam_fight..>01-May-2015 04:05 4.0K 
[   ]exim.easy_spam_fight..>01-May-2015 04:14 4.0K 
[   ]exim.easy_spam_fight..>08-Dec-2015 02:38 4.0K 
[   ]exim.easy_spam_fight..>07-Apr-2016 03:41 4.0K 
[   ]exim.easy_spam_fight..>26-Aug-2016 11:00 4.6K 
[   ]exim.easy_spam_fight..>16-Sep-2016 16:35 4.6K 
[   ]exim.easy_spam_fight..>18-Oct-2016 16:10 4.7K 
[   ]exim.easy_spam_fight..>25-Oct-2016 16:41 4.8K 
[   ]exim.easy_spam_fight..>08-Oct-2017 14:08 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