From: Christoph Conrad <nospam@spamgourmet.com>
Subject: Score article high when special sender and matching content
Date: Sun, 07 Mar 2004 22:55:46 +0100 [thread overview]
Message-ID: <86znasiaot.fsf@ID-24456.user.uni-berlin.de> (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.
next reply other threads:[~2004-03-07 21:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-07 21:55 Christoph Conrad [this message]
[not found] ` <m33c8kcix8.fsf@hamster.pflaesterer.de>
2004-03-08 8:01 ` Christoph Conrad
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=86znasiaot.fsf@ID-24456.user.uni-berlin.de \
--to=nospam@spamgourmet.com \
--cc=christoph.conrad@gmx.de \
/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).