Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: spam-check-BBDB bug?/bbdb whitelist split function
Date: Wed, 05 Feb 2003 12:57:33 -0500	[thread overview]
Message-ID: <4nof5qfw4y.fsf@lockgroove.bwh.harvard.edu> (raw)
In-Reply-To: <ruod6m6srh9.fsf@billwlx.wolfram.com> (Bill White's message of "Wed, 05 Feb 2003 08:59:46 -0600")

On Wed, 05 Feb 2003, billw@wolfram.com wrote:
> On Wed Feb 05 2003 at 08:47, Ted Zlatanov <tzz@lifelogs.com> said:
> 
>>> I've also adjusted this to return a positive match for bbdb
>>> persons; folks who maintain bbdb as a whitelist might find it
>>> useful (adjust for local conditions, YMMV, etc.):
>>
>> Currently, spam-split will fall through to the next spam/ham check
>> on a whitelist match.
>>
>> I thought of having whitelists return t for a positive ham match,
>> and then spam-split wouldn't examine the rest of the spam/ham
>> checks but simply return nil altogether. Does that makes sense?
> 
> Kinda, but I don't have a clear picture of the whole thing (hence my
> little function to do the one thing I wanted at that precise place).

I had screwed up my code in spam.el - now, spam-use-BBDB and
spam-use-whitelist will not go to the next rule, if the sender is in
the BBDB/whitelist but simply exit spam-split altogether; also they
will only consider messages from people NOT in the BBDB/whitelist spam
if spam-use-{whitelist,BBDB}-exclusive is set.  Basically, I ended up
doing what you (and I assume everyone else) wants out of
BBDB/whitelisting, instead of the broken behavior I had in place
before.

>> Or should spam-split have a ham-split-group analogous to
>> spam-split-group?
> 
> Aha - that's exactly what I was grepping for last night.

I'd rather have spam-split fall through to the next rule in the
split-fancy sequence, I think.  It was just not doing the right thing
before, that's all...  The bug was in the code, not the design.

But if people want ham-split-group, I can add it to the ham checks as
an option, instead of fall-through.  This variable name is getting
dangerously close to "split-pea and ham soup."

Thanks
Ted



  reply	other threads:[~2003-02-05 17:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-05  4:15 Bill White
2003-02-05 14:47 ` Ted Zlatanov
2003-02-05 14:59   ` Bill White
2003-02-05 17:57     ` Ted Zlatanov [this message]
2003-02-05 15:07   ` Niklas Morberg
2003-02-05 17:51     ` Ted Zlatanov
2003-02-10  8:13       ` spam-stat broken? (was: spam-check-BBDB bug?/bbdb whitelist split function) Niklas Morberg
2003-02-11  8:15         ` spam-stat broken? Niklas Morberg
2003-02-11 17:56           ` Ted Zlatanov
2003-02-11 20:28             ` Ted Zlatanov
2003-02-12  9:49               ` Niklas Morberg
2003-02-12 11:16                 ` Ted Zlatanov
2003-02-12 13:44                   ` Ted Zlatanov
2003-02-12 13:46                 ` Ted Zlatanov
2003-02-12 15:00                   ` The agent shows ghost messages (was: spam-stat broken?) Niklas Morberg
2003-02-12 15:48                     ` The agent shows ghost messages Ted Zlatanov
2003-02-12 16:29                     ` The agent shows ghost messages (was: spam-stat broken?) Kevin Greiner
2003-02-13  7:53                       ` The agent shows ghost messages Niklas Morberg
2003-02-13  8:44                       ` The agent shows ghost messages (was: spam-stat broken?) Niklas Morberg
2003-02-13 13:50                         ` The agent shows ghost messages Kevin Greiner
2003-02-13 14:50                           ` Niklas Morberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4nof5qfw4y.fsf@lockgroove.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).