🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #170971

Re: [Dialog] Filtering on "To:" field

#170971
From: Shmuel (Seymour J.) Metz
Date: Tue, 09 Aug 2005 23:13
38 lines
2719 bytes
In <t2ihf1hemoelnhnrfi86bi51nkoca0lme6@4ax.com>, on 08/09/2005
   at 11:19 AM, me@invalid.invalid said:

>That's correct.  I want a filter to act on an email if the specified
>address is located anywhere in the "To:" field.  I don't want it
>confused with any extraneous garbage which has been added by other
>mail clients and users. 

Keep in mind that while to you it may be "extraneous garbage", to RFC
2822 it is part of the definition:

address         =       mailbox / group

mailbox         =       name-addr / addr-spec

name-addr       =       [display-name] angle-addr

so anything that you do for filters must be prepared to deal with it.
Note also that several constituents are defined to include CFWS, so
there may be comments inside of parentheses as well.

>However, other email clients can filter
>directly on the "To:" field

Don't you mean the other way around? Your client is matching directly
but other clients are matching substrings?

Note; there are some other potential complications for filters, but
with luck you won't have to deal with them.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Technical Details
Message-ID: <42f946a0$8$fuzhry+tra$mr2ice@news.patriot.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.dca.giganews.com!border1.nntp.dca.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-03!sn-xit-11!sn-xit-05!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <ccc7f1lrbtr274s6ps0gue2quis75mf6k5@4ax.com> <42f74ba6$1$fuzhry+tra$mr2ice@news.patriot.net> <t2ihf1hemoelnhnrfi86bi51nkoca0lme6@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <42f946a0$8$fuzhry+tra$mr2ice@news.patriot.net>
Subject: Re: [Dialog] Filtering on "To:" field
Date: Tue, 09 Aug 2005 20:13:20 -0300
From: "Shmuel (Seymour J.) Metz" <spamtrap@library.lspace.org.invalid>
References: <ccc7f1lrbtr274s6ps0gue2quis75mf6k5@4ax.com> <42f74ba6$1$fuzhry+tra$mr2ice@news.patriot.net> <t2ihf1hemoelnhnrfi86bi51nkoca0lme6@4ax.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.news2me.com!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-03!sn-xit-11!sn-xit-05!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Atid/2
Mail-Copies-To: nobody
X-CompuServe-Customer: Yes
X-Coriate: interspeed.co.nz
X-Ecrate: tanandtanlawyers.com
X-Pose: George Cox
X-Punge: Micro$oft
X-Sanguinate: The MVS Guy
X-Terminate: SPA(GIS)
X-Tinguish: Mark Griffith
X-Treme: C&C,DWS
X-Newsreader: MR/2 Internet Cruiser Edition for OS/2 v2.67/60
X-Complaints-To: abuse@supernews.com
Lines: 38