Updating spamassassin rules
However, the default channel, updates.spamassassin.org, will not publish plugins using this method at this time since people are likely not ready to accept automatic code updates. By default, sa-update and the Spam Assassin modules use the same location for updates.This means that after a successful update run, the new rules are available for use. /bin/bash#Spamassassin auto updater with custom channelssa-update -v --gpgkey 6C6191E3 --channel sought.orgsa-update -vwget Assassin/contrib/-f /usr/mailcleaner/share/spamassassin/KAM.cf/usr/mailcleaner/etc/init.d/mailscanner restart The code above will update a channel called sought then update the rules from spamassassin and lastly download some custom rules and move them to the correct place. Next we need to import the GPG key for the sought rules to work This will run the script you just created at am and it will save the results for debugging at /tmp/updater.output If you have a cluster of machines you will need to do this on each machine, also if you have more rules or channels you can add them to the script you created and have them update every night. KEYâ€100%[========================================================[email protected]mailcleaner:~# sa-update --import GPG. KEYgpg: keyblock resource `/etc/mail/spamassassin/sa-update-keys/secring.gpg': file open errorgpg: keyblock resource `/etc/mail/spamassassin/sa-update-keys/pubring.gpg': file open errorgpg: no writable keyring found: eofgpg: error reading `GPG. KEY' failed: general [email protected]:~#they do the same thing (i didn't see it was already on the forum),the only difference between them is that I have added another rule-set that is not channel based, i.e. I'm am going to look into the other channels they list to see if they are still relevant.#!Spam Assassin was created by Justin Mason, who had maintained a number of patches against an earlier program named by Mark Jeftovic, which in turn was begun in August 1997.Mason rewrote all of Jeftovic's code from scratch and uploaded the resulting codebase to Source on April 20, 2001.
It can also be run by individual users on their own mailbox and integrates with several mail programs.If there are any questions, etc, please feel free to contact the users -at- spamassassin.list for more information.From a technical standpoint, updates can contain plugins. 200 OKLength: 2437 (2.4K) [application/pgp-keys]Saving to: â€œGPG.Spam Assassin is a computer program used for e-mail spam filtering.
Search for updating spamassassin rules:
sa-update has the concept of ``release trusted'' GPG keys.