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/06/30 16:04:02 UTC
[Bug 4442] New: Lint should warn if user rules found and allow_user_rules not set
http://bugzilla.spamassassin.org/show_bug.cgi?id=4442
Summary: Lint should warn if user rules found and
allow_user_rules not set
Product: Spamassassin
Version: 3.0.4
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P3
Component: spamassassin
AssignedTo: dev@spamassassin.apache.org
ReportedBy: lwilton@earthlink.net
Just spent a bunch of time trying to figure out why my user rules weren't
working on the new system. Eventually discovered the obvious, allow_user_rules
wasn't set in local.cf.
Lint should be able to notice that user rules are present and not allowed, and
crank out a warning to the effect.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4442] Lint should warn if user rules found and allow_user_rules not set
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4442
felicity@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From felicity@apache.org 2006-02-22 06:06 -------
(In reply to comment #1)
> So... do we really want to nag people using 'spamassassin' about their user rules?
I don't think we should.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4442] Lint should warn if user rules found and allow_user_rules not set
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4442
------- Additional Comments From spamassassin@dostech.ca 2005-09-20 21:21 -------
Subject: Re: Lint should warn if user rules found and allow_user_rules
not set
Loren Wilton wrote:
> IMO, assuming SA has read local.cf or the equivalent (which I assume to be
> the case even when run as "spamassassin --lint"), SA should remember if
> allow_user_rules exists in that file, even if it overrides the value for
> current processing.
How to do it isn't the issue.
> If sa then discovers
> if (lint && !had_allow_user_rules && user_rule_file_exists) warn "This
> ain't gonna work..";
It's that it IS going to work if you're not using 'spamd' (it will work
with 'spamassassin' and 'spamd' already provides debug info on this).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4442] Lint should warn if user rules found and allow_user_rules not set
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4442
Bob@Menschel.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|Undefined |3.1.1
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Re: [Bug 4442] Lint should warn if user rules found and allow_user_rules not set
Posted by Loren Wilton <lw...@earthlink.net>.
> Well, user rules are always allowed when 'spamassassin' is run so a --lint
> message would have to say "if you plan on using spamd your user rules
won't be
> used".
>
> On the other hand, spamd when called with -Dconfig, will tell you it's not
> parsing each of your user rules.
>
> So... do we really want to nag people using 'spamassassin' about their
user rules?
IMO, assuming SA has read local.cf or the equivalent (which I assume to be
the case even when run as "spamassassin --lint"), SA should remember if
allow_user_rules exists in that file, even if it overrides the value for
current processing.
If sa then discovers
if (lint && !had_allow_user_rules && user_rule_file_exists) warn "This
ain't gonna work..";
Or something along those lines.
[Bug 4442] Lint should warn if user rules found and allow_user_rules not set
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4442
------- Additional Comments From spamassassin@dostech.ca 2005-09-20 21:00 -------
Well, user rules are always allowed when 'spamassassin' is run so a --lint
message would have to say "if you plan on using spamd your user rules won't be
used".
On the other hand, spamd when called with -Dconfig, will tell you it's not
parsing each of your user rules.
So... do we really want to nag people using 'spamassassin' about their user rules?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.