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 2005/01/28 03:32:24 UTC
[Bug 4110] New: Check for things in incorrect places when SA run with -D
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: dev@spamassassin.apache.org
ReportedBy: lwilton@earthlink.net
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.
[Bug 4110] Check for things in incorrect places when SA run with -D
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4110
------- Additional Comments From duncf@debian.org 2005-01-28 10:44 -------
Subject: Re: New: Check for things in incorrect places when SA run with -D
On Thu, Jan 27, 2005 at 06:32:24PM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote:
> 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.
Perhaps if people read the debconf prompts asking them if it was ok to
delete these files, this wouldn't be a problem... Maintainer scripts
can't go ahead and delete configuration files without asking.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4110] Check for things in incorrect places when SA run with -D
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4110
quinlan@pathname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From quinlan@pathname.com 2005-01-27 19:02 -------
"require_version" already does this since SpamAssassin 2.5x. No way to
go back in time and get it into earlier versions, though.
There's no way to know what old files are valid and what are invalid (reliably),
though, for locally installed files.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.