🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #111152

Re: Dialog - how to filter mails

#111152
From: Frank Schmitt
Date: Wed, 09 Oct 2002 14:18
31 lines
2330 bytes
"Exiddor" <exiddor@hotmail.com> writes:

> On Wed, 9 Oct 2002 09:26:06 GMT, Lone Wolf wrote:
>
>> I am challenged when it comes to syntax used for filtering e-mails into
>> folders :-((
>
>> Can some kind sole post here how to filter mail based on the To: field in
>> the headers?
>
> Make a folder called for example "Mail To Me"
>
> Go to Settings->Scoring and actions and make the following entries:
>
> [email.*]
> !move(Mail To Me) Header {^(To: flatulantdingo@deadspam.com)}

How about 

[email.*]
!move(Mail To Me) Header {^(To|CC):.*flatulantdingo@deadspam.com.*}

This copies all articles where somewhere in the To or CC Header your
EMail is included to the folder Mail to me. (I think the last .* is
unnecessary but I'm not sure, try it out).

-- 
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.
Technical Details
Message-ID: <y99766hh.fsf@hschmi22.userfqdn.rz-online.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.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!pppin8.max-hochsimmer.rz-online.NET!not-for-mail
References: <ao0sa9$hudhk$4@ID-77374.news.dfncis.de> <bbb29e9882cad483.dlg@exiddor.me.uk>

Show Full Headers
Complete Article Headers
Message-ID: <y99766hh.fsf@hschmi22.userfqdn.rz-online.de>
Subject: Re: Dialog - how to filter mails
Date: Wed, 09 Oct 2002 16:18:18 +0200
From: Frank Schmitt <usereplyto@Frank-Schmitt.net>
References: <ao0sa9$hudhk$4@ID-77374.news.dfncis.de> <bbb29e9882cad483.dlg@exiddor.me.uk>
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.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!pppin8.max-hochsimmer.rz-online.NET!not-for-mail
Newsgroups: news.software.readers
Organization: Hamme net, kren mer och nimmi
Lines: 30
Reply-To: replies@Frank-Schmitt.net
NNTP-Posting-Host: pppin8.max-hochsimmer.rz-online.net (212.7.169.8)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1034173103 19526253 212.7.169.8 (16 [73763])
X-Face: :EL9TzGRN){7|oE2~xQ8Q(VjpjsXgX$~gi&rYD5J5p)$w\Thdl~v:7h`/n)J!8nXT%_+Wj6}@EHM8}QbA(9nX-wrQ:ch1%DauV[?kFasXUcnL#+"K8zOx&$@/M'/},q-eztaJra1|?C+p$h\2XnK-HB"8_U<T2j:'9)-VEh/Wt~\&Acjl(,@
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.5 (brussels sprouts,
 i586-pc-win32)
Cancel-Lock: sha1:RLGoCI9eGsxSYhdnmD44RsAEaAI=
X-Posting-Agent: Hamster/1.3.23.161