Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
****************** CONFIGURATION ******************This version of the sa-exim package defaults to placing a configurationsniplet in /etc/exim4/conf.d/. Depending on what you have answered to theDebConf questions while configuring Exim4, the module will be loadedautomatically, or human intervention is required.To find out what configurationfile Exim4 is using, issue:$ exim4 -bV | tail -1Configuration file is /path/to/configfileIf /path/to/configfile shows:- /etc/exim4/exim4.confYou are using the 'monolithic' configuration file.See the 'MONOLITHIC' section below.- /var/lib/exim4/config.autogeneratedYou are using the 'split' configuration file.See the 'SPLIT' section below.MONOLITHIC----------Use 'grep "local_scan_path" /etc/exim4/exim4.conf" to see if the sa-eximline is included in the configuration. If grep returns something, checkif it matches the following line. If grep returns nothing, you have tomanually add the following line to the exim4.conf file and restart exim4.local_scan_path = /usr/lib/exim4/local_scan/sa-exim.soChange or add the line above and manually restart exim4 by issuing'invoke-rc.d exim4 restart' or '/etc/init.d/exim4 restart' as root.SPLIT-----Use 'grep "local_scan_path" /var/lib/exim4/config.autogenerated' to seeif the sa-exim line is included in the configuration. If grep returnssomething, you're set and already using the sa-exim module. If grepreturns nothing, we need to figure out a few things:Issue:$ grep "use_split_config" /etc/exim4/update-exim4.conf.confdc_use_split_config='true'If your result shows 'false' where mine shows 'true', but the checkearlier showed that you *are* in fact using the split configuration,then you have to edit /etc/exim4/update-exim4.conf.conf by hand andchange the 'false' to 'true' and issue 'update-exim4.conf' as root.Next, check again if the sa-exim module-line is included. It should.If it still isn't: mail me. If it is, restart exim4 by issuing'invoke-rc.d exim4 restart' or '/etc/init.d/exim4 restart' as root.Next, read all about greylisting and sa-exim:**************** GREYLISTING ****************Notes on greylisting with sa-exim.If you use SpamAssassin 3.0 or better, you do not need to patch it, youcan just use the Greylisting module shipped with sa-exim.The only thing you need to do to enable it, is to copy the 4 lines belowloadplugin in the greylisting README, and adjust the score if you wish (seeREADME.Greylisting for details)If you use a version of SA older than 3.0, you will need to patchspamassassin's sources to support greylisting.There are two versions of the patches:- /usr/share/doc/sa-exim/patches/SA-greylisting-2.4x.diffThis patch can be applied to versions 2.4x of SpamAssassin. Notethat this patch is not fully functional anymore, it is just left asa template should you want to backport the current 2.6x patch.That said, you really ought to upgrade SA to 2.6x or 3.x- /usr/share/doc/sa-exim/patches/SA-greylisting-2.6.diffThis patch can be applied to versions 2.6x of SpamAssassin.Please read README.Greylisting for more information on how to enablethis feature, and what further changes are needed.Note that this configuration won't be supported in the future, and youare encouraged to upgrade to SA 3.0 or better.************** BE WARNED **************By applying these patches, you change the sourcecode of SpamAssassin(again, this is if you use a version of SpamAssassin earlier than 3.0)This also means that when the SpamAssassin package gets upgraded, thechanges made by the patch are LOST.This *MIGHT* cause your mail setup to break. It might be best to putSpamAssassin on hold:$ echo "spamassassin hold" | dpkg --set-selectionsYou can later set it to install again with:$ echo "spamassassin install" | dpkg --set-selections