🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by John Giddy Sun, 12 Sep 2004 10:21
[Dialog] Problem with rules for sorting incoming email
#155488
Author: John Giddy
Date: Sun, 12 Sep 2004 10:21
87 lines
5319 bytes
Hi all,
I have three simple rules set up to sort incoming emails into separate
folders:

email.*]
!move(Aus Soaring) Subject "[Aus-Soaring]"
!move(Family) From "Giddy", "Hubbard", "Uren"
!move(Standard Cirrus) Subject "[StandardCirrus]"

However just recently there have been a few emails directed to the
"Family" folder which should not go there.
The header of one such is:

Status: R
Return-path: <VHMUM@bigpond.com>
Received: from mta09bw.bigpond.com ([192.168.115.47]) by
mailms5.email.bigpond.com (iPlanet Messaging Server 5.2 HotFix 1.26
(built Mar 31 2004)) with ESMTP id
<0I3X001RJ830WV@mailms5.email.bigpond.com> for jgiddy@bigpond.net.au;
Sun, 12 Sep 2004 19:09:00 +1000 (EST)
Received: from cofe-daemon.mta09bw.email.bigpond.com by
mta09bw.email.bigpond.com (iPlanet Messaging Server 5.2 HotFix 1.14
(built Mar 18 2003)) id <0I3X00EYX830D2@mta09bw.email.bigpond.com> for
jgiddy@bigpond.net.au (ORCPT jgiddy@bigpond.net.au); Sun, 12 Sep 2004
19:09:00 +1000 (EST)
Received: from tbf-daemon.mta09bw.email.bigpond.com by
mta09bw.email.bigpond.com (iPlanet Messaging Server 5.2 HotFix 1.14
(built Mar 18 2003)) id <0I3X00E9Z82WDI@mta09bw.email.bigpond.com> for
jgiddy@bigpond.net.au; Sun, 12 Sep 2004 19:08:56 +1000 (EST)
Received: from gizmo50bw.bigpond.com ([144.140.70.25]) by
mta09bw.email.bigpond.com (iPlanet Messaging Server 5.2 HotFix 1.14
(built Mar 18 2003)) with SMTP id
<0I3X008VX82V2A@mta09bw.email.bigpond.com> for jgiddy@bigpond.net.au;
Sun, 12 Sep 2004 19:08:56 +1000 (EST)
Received: (qmail 10450 invoked from network); Sun, 12 Sep 2004
09:08:55 +0000
Received: from unknown (HELO bwmam11.bigpond.com) (144.135.24.100) by
144.140.70.25 with SMTP; Sun, 12 Sep 2004 09:08:55 +0000
Received: from gizmo02bw.bigpond.com ([144.140.70.12]) by
bwmam11.bigpond.com(MAM REL_3_4_2a 180/110553092) with SMTP id
110553092; Sun, 12 Sep 2004 19:08:55 +1000
Received: (qmail 9291 invoked from network); Sun, 12 Sep 2004 09:08:34
+0000
Received: from unknown (HELO bwmam07.bigpond.com) (144.135.24.87) by
gizmo02bw.bigpond.com with SMTP; Sun, 12 Sep 2004 09:08:34 +0000
Received: from 144.139.99.101 ([144.139.99.101]) by
bwmam07.bigpond.com(MAM REL_3_4_2a 56/96514167) with SMTP id 96514167;
Sun, 12 Sep 2004 19:08:30 +1000
Date: Sun, 12 Sep 2004 14:26:17 +1000
From: "Chris , Susie  McGough" <VHMUM@bigpond.com>
Subject: Baby
To: Alan Saunders <alan.saunders@melair.com.au>, Bart/Sue
<sales@aerosportpower.com>, Belinda Grant <binda76@hotmail.com>, Bill
Glanville <VHCTT@bigpond.com>, Bruce Knoll <tripodcat@msn.com>, Darcy
Newell <darcyn@optusnet.com.au>, Denis Walsh
<denis.walsh@comcast.net>, "Edmunds, Norman"
<Norman.Edmunds@AirservicesAustralia.com>, "F.J. Jackson & Son Ltd"
<info@jacksonplants.co.uk>, frank and lynn <lkirk@bigpond.net.au>,
frank pam western <fweston@ozemail.com.au>, Graham Jones
<gratech@bigpond.com>, john carol paul <ausflybaby@yahoo.com>, John
Giddy <jgiddy@bigpond.net.au>, Ken Krueger
<engineering@vansaircraft.com>, Libby Newnham
<libby_newnham@yahoo.com>, linda/gary
<linda.moore@australiaonline.net.au>, mcoulson@berrystreet.org.au,
MICHAEL DAVID CHALLONER <72016.1350@compuserve.com>, Richard Ryland
<dryland@peninsula.hotkey.net.au>, royce <roycec@netspace.net.au>,
Sarah Olliff <saraholliff@bigpond.com>, Stuart Stuart
<stutwo@iinet.net.au>, "Terry, Ged (UK)" <ged.terry@baesystems.com>,
Yvonne Deering <vonnie@ooperamail.com>
Message-id: <000701c498a8$156d9f90$65638b90@BIGGLES>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
Content-type: multipart/mixed;
boundary="----=_NextPart_000_009E_01C498D4.77213450"
X-Priority: 3
X-MSMail-priority: Normal
X-Telstra-AV-Scanner: 1.0.1-LBW
Original-recipient: rfc822;jgiddy@bigpond.net.au

The name "Giddy" occurs in numerous places in the lines starting
"Received from", but the only line of consequence should be the "From"
line about two thirds down the header.
Am I misunderstanding email headers ?  (Quite likely !) or is there
something wrong with my "action" lines ?

Cheers,  confused John G.
Re: [Dialog] Problem with rules for sorting incoming email
#155490
Author: Marcus Mönnig
Date: Sun, 12 Sep 2004 10:41
31 lines
2208 bytes
*John Giddy*, 12 Sep. 04, 12:21:

> email.*]

I assume that this is a copy and paste error, but the starting "[" is
missing here.

> !move(Aus Soaring) Subject "[Aus-Soaring]"
> !move(Family) From "Giddy", "Hubbard", "Uren"
> !move(Standard Cirrus) Subject "[StandardCirrus]"
>
> However just recently there have been a few emails directed to the
> "Family" folder which should not go there.
> The header of one such is:
> ...
> From: "Chris , Susie  McGough" <VHMUM@bigpond.com>
> ...

The comma in the From field matches your expression:

!move(Family) From "Giddy", "Hubbard", "Uren"

Change that to:

!move(Family) From "Giddy" "Hubbard" "Uren"

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: [Dialog] Problem with rules for sorting incoming email
#155491
Author: foxidrive
Date: Sun, 12 Sep 2004 10:48
26 lines
2115 bytes
On Sun, 12 Sep 2004 10:21:10 GMT, John Giddy wrote:

> I have three simple rules set up to sort incoming emails into separate
> folders:
> 
> email.*]
> !move(Aus Soaring) Subject "[Aus-Soaring]"
> !move(Family) From "Giddy", "Hubbard", "Uren"
> !move(Standard Cirrus) Subject "[StandardCirrus]"
> 
> However just recently there have been a few emails directed to the
> "Family" folder which should not go there.
> 
> The name "Giddy" occurs in numerous places in the lines starting
> "Received from", but the only line of consequence should be the "From"
> line about two thirds down the header.
> Am I misunderstanding email headers ?  (Quite likely !) or is there
> something wrong with my "action" lines ?

John, my fallible memory tells me that the from keyword searches the entire
header and is the reason why some errant emails are filtered to that folder. 

For more exact filtering, try filtering on the exact email addresses, or a
portion of an email address - something like 

!move(Family) From "JGiddy@", "Hubbard@", "Uren@", "pgiddy@hotmail.com"
Re: [Dialog] Problem with rules for sorting incoming email
#155492
Author: Antonio 'Gandalf' Favata
Date: Sun, 12 Sep 2004 10:50
12 lines
1600 bytes
Je la 2004-09-12, Marcus Mönnig skribis:

> Change that to:
> !move(Family) From "Giddy" "Hubbard" "Uren"

Or even better to
!move(Family) From: {\b(Giddy|Hubbard|Uren)\b}
-- 
Fare Well! | Dialog ß36: http://snurl.com/dialog http://snurl.com/dlgfaq
G          | (una sorpresa in arrivo) ~ news:it.comp.software.newsreader
      ICQ# | Gerarchia it-alt.*: http://www.fiag.it ~ news:it-alt.config
  16553733 | Server: http://www.x-privat.org ~ http://www.mynewsgate.net
Re: [Dialog] Problem with rules for sorting incoming email
#155494
Author: Marcus Mönnig
Date: Sun, 12 Sep 2004 10:56
17 lines
2000 bytes
*Antonio 'Gandalf' Favata*, 12 Sep. 04, 12:50:

>> Change that to:
>> !move(Family) From "Giddy" "Hubbard" "Uren"
> 
> Or even better to
> !move(Family) From: {\b(Giddy|Hubbard|Uren)\b}

There's nothing wrong with using a plain text match as long as you don't see
any false positives. On the other hand the regular expression will do the
right thing in all cases, but it has a speed penalty.

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: [Dialog] Problem with rules for sorting incoming email
#155495
Author: Antonio 'Gandalf' Favata
Date: Sun, 12 Sep 2004 11:23
20 lines
2184 bytes
Je la 2004-09-12, Marcus Mönnig skribis:

> There's nothing wrong with using a plain text match as long as you don't see
> any false positives. On the other hand the regular expression will do the
> right thing in all cases, but it has a speed penalty.

You are (of course ^_^) right... I examined my scorefile, and the only
regex -I had LOT of them- that couldn't be replaced by a corresponding
plain text rule is:

|| =+7 References: {@shadowfax\.ithn\.net>$}

which checks if the message is a _direct_ reply to one of my messages.
Apart from that, I now have just plain text rules... if Dialog's speed
will increase because of this, thank you very much :)
-- 
Fare Well! | Dialog ß36: http://snurl.com/dialog http://snurl.com/dlgfaq
G          | (una sorpresa in arrivo) ~ news:it.comp.software.newsreader
      ICQ# | Gerarchia it-alt.*: http://www.fiag.it ~ news:it-alt.config
  16553733 | Server: http://www.x-privat.org ~ http://www.mynewsgate.net
Re: [Dialog] Problem with rules for sorting incoming email
#155496
Author: John Giddy
Date: Sun, 12 Sep 2004 12:00
33 lines
2173 bytes
On Sun, 12 Sep 2004 12:41:55 +0200, Marcus Mönnig wrote:

> *John Giddy*, 12 Sep. 04, 12:21:
> 
>> email.*]
> 
> I assume that this is a copy and paste error, but the starting "[" is
> missing here.
> 
>> !move(Aus Soaring) Subject "[Aus-Soaring]"
>> !move(Family) From "Giddy", "Hubbard", "Uren"
>> !move(Standard Cirrus) Subject "[StandardCirrus]"
>>
>> However just recently there have been a few emails directed to the
>> "Family" folder which should not go there.
>> The header of one such is:
>> ...
>> From: "Chris , Susie  McGough" <VHMUM@bigpond.com>
>> ...
> 
> The comma in the From field matches your expression:
> 
> !move(Family) From "Giddy", "Hubbard", "Uren"
> 
> Change that to:
> 
> !move(Family) From "Giddy" "Hubbard" "Uren"
> 
> Marcus

Thank you Marcus yet again for a prompt and understandable reply.
I am learning slowly...
Best Regards,  John G.
Re: [Dialog] Problem with rules for sorting incoming email
#155497
Author: foxidrive
Date: Sun, 12 Sep 2004 12:01
14 lines
1856 bytes
On Sun, 12 Sep 2004 13:23:25 +0200, Antonio 'Gandalf' Favata wrote:

> Je la 2004-09-12, Marcus Mönnig skribis:
> 
>> There's nothing wrong with using a plain text match as long as you don't see
>> any false positives. On the other hand the regular expression will do the
>> right thing in all cases, but it has a speed penalty.
> 
> Apart from that, I now have just plain text rules... if Dialog's speed
> will increase because of this, thank you very much :)

Thanks also from me - I had noticed a certain slowness when re-applying my
filters to large groups, and had quite a few unnecessary regexs which are
also now plain text. 
Re: [Dialog] Problem with rules for sorting incoming email
#155499
Author: Copelandia Cyanescens
Date: Sun, 12 Sep 2004 12:21
31 lines
3008 bytes
foxidrive wrote...

> On Sun, 12 Sep 2004 13:23:25 +0200, Antonio 'Gandalf' Favata wrote:
> 
>> Je la 2004-09-12, Marcus Mönnig skribis:
>> 
>>> There's nothing wrong with using a plain text match as long as you don't see
>>> any false positives. On the other hand the regular expression will do the
>>> right thing in all cases, but it has a speed penalty.
>> 
>> Apart from that, I now have just plain text rules... if Dialog's speed
>> will increase because of this, thank you very much :)
> 
> Thanks also from me - I had noticed a certain slowness when re-applying my
> filters to large groups, and had quite a few unnecessary regexs which are
> also now plain text.

Ditto here. I just rewrote a number of regex rules to plain vanilla
matching and manually scored some groups padded with lot's of old
messages, with a notable increase in speed. Oddly enough the only thing
I apparently really *need* to regex is a "reply to my post" rule similar
to Gandalf's.

Ain't Usenet grand! :)

-- 
When we are planning for posterity, we ought to remember that 
virtue is not hereditary. 

                                              -- Thomas Paine 
Re: [Dialog] Problem with rules for sorting incoming email
#155550
Author: Marko37
Date: Mon, 13 Sep 2004 12:58
11 lines
1489 bytes
John Giddy napisa:

> Thank you Marcus yet again for a prompt and understandable reply.
> I am learning slowly...

Next time you might also consider not posting bunch of valid emails on the
usenet cause of spambots.

-- 
MUST BE DEADLINE ORIENTED - translation: You'll be six months behind
schedule on your first day.
Re: [Dialog] Problem with rules for sorting incoming email
#155552
Author: Tarkus
Date: Mon, 13 Sep 2004 13:36
16 lines
1858 bytes
On 9/13/2004 5:58:58 AM, Marko37 wrote:

> John Giddy napisa:
> 
>> Thank you Marcus yet again for a prompt and understandable reply.
>> I am learning slowly...
> 
> Next time you might also consider not posting bunch of valid emails on
> the usenet cause of spambots.

Spambots typically only look at headers.  It's much more efficient than
downloading bodies.
-- 
The Official Binary News Reaper (BNR) mailing list:
Email:  bnr1-subscribe@yahoogroups.com
Web:  http://groups.yahoo.com/group/bnr1/
Re: [Dialog] Problem with rules for sorting incoming email
#155575
Author: Marko37
Date: Mon, 13 Sep 2004 21:41
17 lines
1828 bytes
Tarkus napisa:

>> Next time you might also consider not posting bunch of valid emails on
>> the usenet cause of spambots.

> Spambots typically only look at headers.  It's much more efficient than
> downloading bodies.

Well, call me paranoid, but...
A couple of months ago I sent a post in which I mentioned running Dialog
under "wine" (windows emulator for Linux). 6 hours later I recieved my first
spam offering various californian wines.
Besides, most bodies are smaller than headers, even those lines sent on
XOVER. No problem for a "decent" spambot with BB.

-- 
Back the Metric System every inch of the way!
Re: [Dialog] Problem with rules for sorting incoming email
#155603
Author: John Giddy
Date: Tue, 14 Sep 2004 00:17
16 lines
1917 bytes
On Mon, 13 Sep 2004 14:58:58 +0200, Marko37 wrote:

> John Giddy napisa:
> 
>> Thank you Marcus yet again for a prompt and understandable reply.
>> I am learning slowly...
> 
> Next time you might also consider not posting bunch of valid emails on the
> usenet cause of spambots.

Thankyou for the reminder Marko,
But I tried to give you all as much information about the problem as
poosible.
Probably should have edited the header to remove all but one email
address.
Cheers,  John G.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads