Updating spamassassin rules

21-May-2020 17:38

Use of the following gpgkey-related options will override --nogpg and keep GPG verification enabled.

Note: Currently, only GPG itself is supported (ie: not PGP).

a) The global spamassassin config file is in /etc/mail/spamassassin/b) If you run debian and are missing perl or some pm files, type:apt-get install perl-base perl-modules libnet-dns-perl c)A issue from Dec 2012 is this error: GET 3.3 request failed: 400 URL must be absolute: 400 URL must be absolute error: no mirror data available for channel updates.channel: MIRRORED.

Note that use of this option is not recommended; if you're just using sa-update to download updated rulesets for a scanner, and sa- update is placing updates in the wrong directory, you probably need to rebuild Spam Assassin with different "Makefile.Use multiple times for multiple files --updatedir path Directory to place updates, defaults to the Spam Assassin site rules directory (default: /var/lib/spamassassin/3.003002) --refreshmirrors Force the MIRRORED.BY file to be updated -D, --debug [area=n,...] Print debugging messages -v, --verbose Be more verbose, like print updated channel names -V, --version Print version -h, --help Print usage message , which has updated rules since the previous release.By default, it will only access "updates.spamassassin.org", but more channels can be specified via this option.If there are multiple additional channels, use the option multiple times, once per channel.

Note that use of this option is not recommended; if you're just using sa-update to download updated rulesets for a scanner, and sa- update is placing updates in the wrong directory, you probably need to rebuild Spam Assassin with different "Makefile.

Use multiple times for multiple files --updatedir path Directory to place updates, defaults to the Spam Assassin site rules directory (default: /var/lib/spamassassin/3.003002) --refreshmirrors Force the MIRRORED.

BY file to be updated -D, --debug [area=n,...] Print debugging messages -v, --verbose Be more verbose, like print updated channel names -V, --version Print version -h, --help Print usage message , which has updated rules since the previous release.

By default, it will only access "updates.spamassassin.org", but more channels can be specified via this option.

If there are multiple additional channels, use the option multiple times, once per channel.

Instead, "sa-update" is typically used in something like the following manner: sa-update && /etc/init.d/spamassassin reload This works because "sa-update" only returns an exit status of 0 if it has successfully downloaded and installed an updated ruleset.