🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #146502

Re: [Dialog] Scoring for the "To" address

#146502
From: Antonio 'Gandalf' Favata
Date: Fri, 16 Apr 2004 23:45
27 lines
2554 bytes
RichGK skribis:

>> =+500 Header "To: joe@blablaryeyf.com"
>> or even better
>> =+500 Header {^(To|CC|X-(Apparently|Original)-To):.*joe@blablaryeyf\.com}
> Thanks!

You're welcome (and sorry for the late reply).

> Could you tell me what the second rule achieves?

Mainly three things:
1. It checks that the joe@ address is actually in the To (or similar)
   header, and not e.g. in the Subject header, as in
||   	Subject: To: joe@blablaryeyf.com
   This is because of the ^, it means «beginning of the string/line».
2. It checks four fields (To, CC, X-Apparently-To and X-Original-To),
   not only the To one. You may want to remove this feature, depending
   on your needs. Header {^To:.*blablaryeyf\.com} will do.
3. It will match even if the content of the To field is not only that
   email address but also a name or such, as in
||	To: Joe <joe@blablaryeyf.com>
-- 
Fare Well!    FIAG http://www.fiag.it ~ X-Privat http://www.x-privat.org
G             40tude Dialog 2.0.10.1it (beta 33) http://snurl.com/dialog
Dialog, Agent, Pimmy, Xnews, Gravity... news:it.comp.software.newsreader
Mozilla Suite, Firefox, Thunderbird... news:it-alt.comp.software.mozilla
Technical Details
Message-ID: <1l561whq6ryx6$.dlg@shadowfax.ithn.invalid>
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!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!irazu.switch.ch!switch.ch!newsfeed.nextoneserver.com!news.newsland.it!x-privat.org!not-for-mail
References: <li8yu4k1b0ho.1bedkz4min4fd$.dlg@40tude.net> <12hk8fgzidoq7.dlg@shadowfax.ithn.invalid> <p4i98mhmyb8t$.1a9jypk2ukdu1.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <1l561whq6ryx6$.dlg@shadowfax.ithn.invalid>
Subject: Re: [Dialog] Scoring for the "To" address
Date: Sat, 17 Apr 2004 01:45:31 +0200
From: Antonio 'Gandalf' Favata <gandalf@shadowfax.ithn.invalid>
References: <li8yu4k1b0ho.1bedkz4min4fd$.dlg@40tude.net> <12hk8fgzidoq7.dlg@shadowfax.ithn.invalid> <p4i98mhmyb8t$.1a9jypk2ukdu1.dlg@40tude.net>
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!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!irazu.switch.ch!switch.ch!newsfeed.nextoneserver.com!news.newsland.it!x-privat.org!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.10.207it (9e72f37c.445.100)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Reply-To: gandalf@ithn.net
Organization: FIAG
X-Face: &]^_njQjKuBI.th%)W1+ESkFY4E:r*#8}rkHLF'QTLo, >mql9aGkV*, v.-,
 qVdu&8Xk(6K
X-Headers: Move along, nothing to see here.
NNTP-Posting-Host: 127.0.0.1
X-Trace: x-privat.org 1082159218 127.0.0.1 (17 Apr 2004 01:46:58 +0200)
Lines: 27
X-Complaints-To: abuse@x-privat.org