SLS

 
Title: HowTo: Add extra rules to SpamAssassin
Description: using wget to beef up extra rules for SA


http://www.stearns.org has a weekly updated file to be used with SA to beef up its spam checking. Be warned this file is a few (currently four) megabytes and may slow up SA for usage.

Create the following file /bin/spam_update as root. I recommend copying this text, and then from a root console

 pico /bin/spam_update


then paste these lines into the file. Press Ctrl-X and say Yes to save.

Make this file executable

 chmod 755 /bin/spam_update


and now set it to run weekly by

 ln -s /bin/spam_update /etc/cron.weekly



#!/bin/sh

! Script by AJR to update local spamassassin rules

cd /tmp
wget -c http://www.stearns.org/sa-blacklist/sa-blacklist.current
mv sa-blacklist.current 50_local.cf -f
mv 50_local.cf /etc/mail/spamassassin -f
rm 50_local.cf -f
/sbin/rcspamd restart



Sources:
http://www.stearns.org for the excellent provision

Credits:
http://www.stearns.org, http://www.spamassassin.org

To add your own howto: http://forums.suselinuxsupport.de/index.php?showforum=50

Comments or Suggestions:
http://forums.suselinuxsupport.de/index.php?showtopic=13331

There are no comments on this page. [Add comment]


Warning: include(http://forums.suselinuxsupport.de/ssi.php?a=active) [function.include]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/customers/webs/slwiki/actions/footer.php on line 51

Warning: include() [function.include]: Failed opening 'http://forums.suselinuxsupport.de/ssi.php?a=active' for inclusion (include_path='.:/home/customers/webs') in /home/customers/webs/slwiki/actions/footer.php on line 51

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.0166 seconds