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 2007/12/07 14:51:52 UTC

[Bug 5743] New: Textcat - create "not_ok_locales"

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

           Summary: Textcat - create "not_ok_locales"
           Product: Spamassassin
           Version: 3.2.3
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: mkettler_sa@verizon.net


There have been several requests for this option, at least one of which is in a
cluttered bug.

The most valid argument I've seen so far came from stefan.jakobs, who
essentially argued if you have a university, you may have very few
not_ok_locales as compared to ok_locales.

The not_ok_locales should effectively subtract off from the existing list the
same way ok_locales.

 The sticky part is that ok_locales will reset to an empty list on first use,
and not_ok_locales would essentially deduct from whatever the current list is,
even if it's "all".


This might be a little confusing, but relatively harmless, as doing:

not_ok_locales se
ok_locales en

The ok_locales would be ignored.

doing:
ok_locales en
not_ok_locales se

the not_ok would be ignored, as se isn't in the list of ok anymore.

We will have to try to clearly document the fact that this isn't a black/white
pair, but really add and subtract from the same "ok" list.



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

[Bug 5743] Textcat - create "not_ok_locales"

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5743


mkettler_sa@verizon.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement






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

[Bug 5743] create "not_ok_locales"

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5743


mkettler_sa@verizon.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Textcat - create            |create "not_ok_locales"
                   |"not_ok_locales"            |




------- Additional Comments From mkettler_sa@verizon.net  2007-12-07 05:58 -------
Whoops, this isn't textcat related. Subject fixed.



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

[Bug 5743] create "not_ok_locales"

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5743





------- Additional Comments From lwilton@earthlink.net  2007-12-07 23:42 -------
Suggestion on enhanced syntax for ok_locales that I think solves the chicken 
and egg problems, and eliminates the need for not_ok_locales.

1. Support ok_locales with the current syntax in the following way: eliminate 
the current ok_locales list and replace it with the list in the current 
statement.  This will correctly allow a ok_locales in user_prefs to override a 
global ok_locales statement.

2. Add a new parameter syntax to ok_locales:
a. Locale identifiers preceeded by a + or - character
b. A Meta-locale of "all" preceeded by a + or - character.

If the first parameter encountered in ok_locales is NOT preceeded by a + or - 
character, original syntax parsing (1) is used.  If the first locale name IS 
preceeded by a + or - character, new syntax parsing (2) is used.

If new syntax parsing is used and a locale name is found without a + or - sign, 
treat it as having an implicit + sign.  Alternately, give a syntax error for 
ambiguous option, mentioning the locale in question in the error message.

Note that the meta-locale of +all or -all can potentially occur at any point in 
the list, although it isn't real practical as anything other than the first 
locale.

(Note this same enhanced syntax can and probably should be used for 
ok_languages for consistency of syntax and function.)




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

[Bug 5743] create "not_ok_locales"

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5743





------- Additional Comments From jidanni@jidanni.org  2007-12-07 21:54 -------
Also one must avoid users maintaining long lists of one thing because there is
no feature to just give a short list of its opposite.

What happens is one day upon upgrade one of the definitions in their long list
changes under their feet.

Or: "I am just trying to track one item. Why must I maintain constant knowledge
of all the other items just to stay focused on that one item?"



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