http://bugzilla.spamassassin.org/show_bug.cgi?id=4110

           Summary: Check for things in incorrect places when SA run with -D
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Building & Packaging
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


A conversation on the SA list brings up that old Debian installs used to put 
the rules files in /etc/spamassassin and new installs put the rules 
in /usr/share/spamassassin.  Apparently without bothering to remove the old 
rules in /etc/spamassassin.  This has caused a number of people grief.

While that case is specific to Debian, it seems that it wouldn't hurt for SA to 
perform a ratioality check on the rules files found, either at the end of 
installation (hopefully after the point that each package will have muked with 
the setup), or on any run that specifies -D and lists the directories that will 
be searched for rules.

A couple of fairly trivial checks could be performed:
1.  Were at least some of the rules files with known names that are part of the 
release located?
2.  Were any rules files located in more than one directory?

A third check could be made if SA has reasonable control of where the default 
rules will be stored: see if some of the known rules files are really there, 
and also see if any of the known rules files seem to be somewhere else too.



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

Reply via email to