Ticket #289 (closed enhancement: fixed)
load-sa-rules.pl does not find new rules after running sa-update
| Reported by: | rjl | Owned by: | rjl |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.1 |
| Component: | Perl scripts | Version: | 1.0.0 |
| Severity: | normal | Keywords: | load-sa-rules.pl sa-update |
| Cc: |
Description
As of SpamAssassin 3.1.1, a new utility called sa-update provides an auto-updating mechanism for SpamAssassin rules, either from the SpamAssassin project itself or from third-party channels. This is NOT a replacement for rules_du_jour, but a way to update the CORE rules on a regular basis without having to wait for the next SpamAssassin release.
The sa-update script does not overwrite the core rules from your SpamAssassin installation, however. It writes the new rules to subdirectories beneath /var/lib/spamassassin/%%VERSION%%, one subdirectory per channel. SpamAssassin 3.1.1 looks first for that directory for its core rules, and only resorts to /usr/share/spamassassin if it can't find any versioned updates. This means that load-sa-rules.pl needs to know how to find these updated rules, and follow SpamAssassin's new logic. Otherwise, rule updates will be missed by load-sa-rules.pl.

