You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2006/11/02 22:56:12 UTC

[Bug 5147] old rules in /var/lib/spamassassin override new ones in /usr/share/spamassassin

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5147





------- Additional Comments From jm@jmason.org  2006-11-02 13:56 -------
yep, I think Tom's right.  so:

- the update contains its last-modified date somewhere;
- change sa-update to touch the update dir each time it downloads an update,
using that lastmod time as the timestamp; 
- then when Mail::SpamAssassin is looking for rule-updates, if the modtime of
/var/lib/spamassassin is older than /usr/share/spamassassin, ignore the update
and use the latter instead.

Does that work?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.