🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #245324

Re: [slrn] Any way to score the realname?

#245324
From: Adam Funk
Date: Tue, 12 Apr 2011 18:09
45 lines
2703 bytes
On 2011-04-12, impaul wrote:

> What I mean is that is there a way to score the "realname" in the From
> header & have the "email addr" be anything?
>
> example as in:
>
>          From: "Andrew B\. Chunq, MD/PhD" <nobody@dizum\.net>
>         From: "Andrew B\. Chunq MD/PhD" <themasarskygrope@gmail\.com>
>         From: "Andrew B\. Chung, MD/PhD" <love16@thetruth\.com>
>         From: "Andrew B\. Chunq, MD/PhD" <papamikeyllc@gmail\.com>
>         From: "Andrew B\. Chung, MD/PhD" <love24@thetruth\.com>
>         From: "Andrew B\. Chung, MD/PhD" <love26@thetruth\.com>
>         From: "Andrew B\. Chung, MD/PhD" <love14@thetruth\.com>

The "k" command makes rules based on the whole header, but the rules
don't have to be that way.


> Just want to kill the "Andrew B\. Chunq, MD/PhD" & let the rest be
> whatever the born again spammer wants.
>
> If not possible, guess I just have to add another email addr each time
> it shows up.

Edit the ~/.slrn/score manually and make one rule like

     From: Andrew B\. Chun.*MD

which will match any of the things above (covering the Chunq/Chung
variation), with any e-mail address afterwards (or before).

A rule fires if the pattern matches all *or part* of the header's
value --- unless you use "^" at the beginning or "$" at the end, of
course.

(The quotation marks match literal quotation marks in the header
value; some mail & news clients put those in and some don't.)


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Technical Details
Message-ID: <14he78xk2o.ln2@news.ducksburg.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <io0d6o$o24$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <14he78xk2o.ln2@news.ducksburg.com>
Subject: Re: [slrn] Any way to score the realname?
Date: Tue, 12 Apr 2011 19:09:37 +0100
From: Adam Funk <a24061@ducksburg.com>
References: <io0d6o$o24$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: $CABAL
Lines: 45
X-Trace: individual.net vuvG/v9zAxwvwaVgxj6ScwEP+LtANW3V3dp+zm36VLzloVIk0q
X-Orig-Path: news.ducksburg.com!not-for-mail
Cancel-Lock: sha1:p6xUzWQtiIrFhkvwZz35ad3L/N8=
 sha1:ZZEP8Wyp+w2LIXR417lAMOumJew=
User-Agent: slrn/pre1.0.0-26/mm/ao (Ubuntu Maverick)
X-Original-Bytes: 2485