Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Score article high when special sender and matching content
@ 2004-03-07 21:55 Christoph Conrad
       [not found] ` <m33c8kcix8.fsf@hamster.pflaesterer.de>
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Conrad @ 2004-03-07 21:55 UTC (permalink / raw)


Hi,

i get spam reports from the blocked spam from my mail provider GMX. I
manually scan the list to find false positives and want to automate the
process with my bbdb entries.

So, if "From:" matches "mailings@gmx.net" the content of the mail should
be checked against all net addresses of my bbdb, and if one matches,
sould be scored very high so that it shows up in the summary in a
special color.

It can't implement it with all.SCORE cause there is no matching function
and eval entries are ignored.

For matching against bbdb one can use a modified snippet from Bill White

(defun billw-BBDB-whitelist ()
  "BBDB is a whitelist."
  (let ((who (message-fetch-field "from")))
    (when who
      (setq who (cadr (gnus-extract-address-components who)))
      (if (and (not (string-match gnus-ignored-from-addresses who))
               (bbdb-search-simple nil who))
          "Incoming"
        nil))))

Any idea?

Herzliche Grüße,
  Christoph
-- 
Wir sehen die Dinge nicht so wie sie sind - sondern wir sehen sie, wie
wir sind.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Score article high when special sender and matching content
       [not found] ` <m33c8kcix8.fsf@hamster.pflaesterer.de>
@ 2004-03-08  8:01   ` Christoph Conrad
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Conrad @ 2004-03-08  8:01 UTC (permalink / raw)


Hi Karl,

> Why don't you use fancy splitting? You could write a split like e.g.
> ("from" "mailings@gmx.net" (: some_func))

That's a quite good idea! I use fancy splitting and...

> returns a split in the group you want to find the false positives.

...in my case i increase the score of the article.

Herzliche Grüße,
  Christoph
-- 
Wir sehen die Dinge nicht so wie sie sind - sondern wir sehen sie, wie
wir sind.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-08  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-07 21:55 Score article high when special sender and matching content Christoph Conrad
     [not found] ` <m33c8kcix8.fsf@hamster.pflaesterer.de>
2004-03-08  8:01   ` Christoph Conrad

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).