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

           Summary: old rules in /var/lib/spamassassin override new ones in
                    /usr/share/spamassassin
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P5
         Component: Building & Packaging
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


this just happened to me:

1. "make install" from an SVN checkout

2. days later, run "sa-update", receive new ruleset in
/var/lib/spamassassin/3.002000/updates_spamassassin_org*

3. days later, run "svn up; make install" from the SVN checkout, and receive a
newer ruleset in /usr/share/spamassassin .

the result:

: jm 124...; spamassassin --lint
[7411] warn: rules: failed to run URI_HTML_ONLY test, skipping:
[7411] warn:  (Can't locate object method "check_html_uri_only" via package
"Mail::SpamAssassin::PerMsgStatus" at (eval 670) line 880.
[7411] warn: )
[7411] warn: lint: 1 issues detected, please rerun with debug enabled for more
information

looking at debug logs, it's clear that "/var/lib/spamassassin/3.002000" has
taken priority over "/usr/share/spamassassin":

[7601] dbg: config: read file /etc/mail/spamassassin/v312.pre
[7601] dbg: config: read file /etc/mail/spamassassin/v320.pre
[7601] dbg: config: using "/var/lib/spamassassin/3.002000" for sys rules pre 
files
[7601] dbg: config: using "/var/lib/spamassassin/3.002000" for default rules dir
[7601] dbg: config: using "/etc/mail/spamassassin" for site rules dir
[7601] dbg: config: read file /etc/mail/spamassassin/clamav.cf
[7601] dbg: config: read file /etc/mail/spamassassin/dogma.cf
...


we need to check modtimes, or something, I think...



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

Reply via email to