🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #112481

Re: [Dialog] Feature Requests

#112481
From: Rick Swartz
Date: Mon, 28 Oct 2002 14:54
45 lines
3623 bytes
In the halls of news.software.readers, Colin Jones spoke thus:    

> Scoring and Actions: is it possible to allow filtering by the To field? I 
> have quite a few e-mail addresses forwarded to the one mailbox and filter 
> them to various folders. Some of these rules involve the To: header.

The help file in Dialog is really very good. Here's an excerpt:   

> Copy and Move actions  There is an extended syntax for copy and move
> action. Say you want to move all emails from a mailing list to a separate
> folder. You can use:  
> 
> [email.*] 
> !move(%X-Mailing-List%) Header {^(X-Mailing-List:)}  
> 
> The section identifier here says that the following rule should be applied
> to emails only.  The !move action itself looks for a X-Mailing-List: header
> in the message, but instead of copying the message to a folder with a fixed
> name, it is copied to a folder named after the value of the X-Mailing-List
> header field itself. Say, e.g. you receive a message which has a
> "X-Mailing-List: speedboats@yahoogroups.com" header, then this message is
> moved to the "speedboats@yahoogroups.com" folder. By now, you might have
> noticed that this is a very powerful rule for organizing mailing list into
> folders.  
> 
> A variation of this is:  
> 
> [email.*] 
> !move(@%X-Mailing-List%) Header {^(X-Mailing-List:)}  
> 
> Notice the additional "@" in the target folder expression. If this @ is
> present, the value of the header field is simply searched for the character
> @ and only the text before the first found @ is used as the target folder.
> Again, for a message which has a "X-Mailing-List:
> speedboats@yahoogroups.com" header field, the message would be moved to the
> "speedboats" folder, instead of the "speedboats@yahoogroups.com" folder. 

As you see, you can not only score on the To: header but on any of them, 
just edit the examples to suit your needs.

Regards, 

-- 
Rick S.
Technical Details
Message-ID: <jj8cwej9xiit.dlg@swartz.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.easynews.com!easynews.com!easynews!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <1wdgvufsq808i.6av2kql351vv.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <jj8cwej9xiit.dlg@swartz.de>
Subject: Re: [Dialog] Feature Requests
Date: Mon, 28 Oct 2002 15:54:57 +0100
From: Rick Swartz <admin@swartz.de>
References: <1wdgvufsq808i.6av2kql351vv.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.easynews.com!easynews.com!easynews!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 28 Oct 2002 08:54:58 -0600
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: admin@swartz.de
Organization: http://www.swartz.de
X-Face: (*^sjV0Z5~f&nXKN%:oQW{P89[8?`\8;c8ck-:|Gi'SXCC?J!"Cx%pirbI()u`g}I4!}z6{ !f%xidH6(p7>O20,>yE3]p)IVt@uct-e!|H0=3xJyP<"P*\3mhRcG0u'n6}~-j+,;2'=89~\W;zw9t 7%w:|.rp6lBO%=E5T%$?.7R7/
User-Agent: 40tude_Dialog/2.0.2.1 (02d2bedb.386.104)
Lines: 44
X-Trace: sv3-xy8yD9FoLSCxH3TKPALdMrWl1Ms/HnG7LQd6eH30A5bXDKACj/455307tUdcf0JV8Qr0mAOnv5Bey++!xtbPquIkQA8TQZyZQZBUcfv7yaNSdrDPnylR9WyEgQXqD/A+GQ==
X-Complaints-To: abuse@GigaNews.Com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1