Current rules for SpamAssassin from schaal @it
We regularly publish new rules for the spamfilter SpamAssassin of the Apache Software Foundation Apache Software Foundation. Of course, you can also use the rules for the ISPConfig spam filter settings.
Most of our rules have a score of 5.
Our rules can be used free of charge. For this, only our channel has to be added to the SpamAssassin-Config or our script has to be installed. Please do not forget to restart SpamAssassin after installing or updating rules.
SpamAssassin uses DNS checks to detect new rules so that the script can be called every hour or at least dayly without generating a significant load.
Install our ruleset:
sa-update --nogpg --channel sa.schaal-it.net
To keep the rules up-to-date, just install a simple shell-script in /etc/cron.hourly:
cd /etc/cron.hourly && wget sa.schaal-it.net/sa-update && chown root.root sa-update && chmod 755 sa-update
This will install this script:
#!/bin/sh # schaal @it # # Simple script to update SpamAssassin SYSLOG_TAG=sa-update compile=0 logger -d -t $SYSLOG_TAG "Start SA-Update" sa-update --nogpg retval="$?" if [ $retval -eq 0 ]; then compile=1; fi sa-update --nogpg --channel updates.spamassassin.org retval="$?" if [ $retval -eq 0 ]; then compile=1; fi sa-update --nogpg --channel sa.schaal-it.net retval="$?" if [ $retval -eq 0 ]; then compile=1; fi if [ $compile -eq 1 ]; then logger -d -t $SYSLOG_TAG "SA-Update found" sa-compile /etc/init.d/amavis restart else logger -d -t $SYSLOG_TAG "No SA-Update found" fi
To add more rules to the spam filter simply add one or more blocks before if [ $compile -eq 1 ]; then:
sa-update --nogpg --channel updates.spamassassin.org retval="$?" if [ $retval -eq 0 ]; then compile=1; fi sa-update --nogpg --channel sought.rules.yerp.org retval="$?" if [ $retval -eq 0 ]; then compile=1; fi sa-update --nogpg --channel spamassassin.heinlein-support.de retval="$?" if [ $retval -eq 0 ]; then compile=1; fi