[pmmail-list] FYI: Foiled by a Complex Filter - Solved
Kenn Yuill
pmmail-list@blueprintsoftwareworks.com
Mon, 27 Oct 2003 19:17:52 -0500 (EST)
Hello,
The following incident is likely of little interest to the veterans on
this list, but I thought it was worth sharing for any newcomers.
I have been having trouble with some newsletters, all of which have the
same address for the "From" header but different ones for "Subject". I
tried two filters in the following order, so that the ones about humour
would not be moved by the first filter to a "Health" folder but would
be passed to the second filter for placement in one of the "Jokes"
folders. Filter 2 works quite well if Filter 1 is disabled.
- Filter 1:
!h.Subject="Chuckle | Groaner | Chuckles | Groaners" &
h.From="chet@chetday.com"
- Filter 2:
h.Subject="Chet's Monday Chuckle" |
h.Subject="Chet's Tuesday Chuckle" |
h.Subject="Chet's Wednesday Chuckle" |
h.Subject="Chet's Thursday Chuckle" |
h.Subject="Chet's Friday Groaner"
Filter 1 seemed to ignore the values in "h.Subject=" and placed all of
the messages from ched@chetday.com in the "Health" folder. Thinking
that this filter should be more definitive, each subject in question
was included.
- Filter 1a:
(!h.Subject="Chet's Monday Chuckle" | !h.Subject="Chet's Tuesday
Chuckle" | !h.Subject="Chet's Wednesday Chuckle" | !h.Subject="Chet's
Thursday Chuckle" | !h.Subject="Chet's Friday Groaner") &
h.From="chet@chetday.com"
However, there was no improvement. Now I thought that Filter 1a must
exclude all of these subjects, so the "|" was replaced with "&" and lo
and behold, it worked! I was fooled by the old inclusive versus
exclusive conditions. I suppose a similar change to Filter 1 would
work as well. For reading so far, here are two jokes of diverse appeal
from these misplaced messages for your pleasure. Enjoy... I hope.
------------------------------------------------------
A DRUNK'S DIAGNOSIS
A woman was shopping at her local supermarket, where she selected a
quart of milk, a carton of eggs, juice, and a package of bacon. As she
was unloading her items on the conveyer belt to check out, a drunk
standing behind her, watched as she placed her items in front of the
cashier.
The drunk said, "You must be single."
The woman, a bit startled, looked at the four items on the belt, and
seeing nothing particularly unusual about her selections, replied,
"Well, y'know, that's right. But how on earth did you know that?"
The drunk said, "Cause you're uglier 'n shit."
Today's humor is courtesy of Susan.
------------------------------------------------------
------------------------------------------------------
Friday's Groaner: A HOSPITAL TOUR
Tony Blair is visiting an Edinburgh hospital. He enters a ward full of
patients with no obvious sign of injury or illness and greets one. The
patient replies:
"Fair fa your honest sonsie face,
Great chieftain o' the puddin race,
Aboon them a you take your place,
Painch, tripe or thairm,
As langs my airm."
Blair is confused, so he just grins and moves on to the next patient.
The second patient responds:
"Some hae meat and canna eat,
And some wad eat that want it,
But we hae meat and we can eat,
So let the Lord be thankit."
Even more confused, and his grin now rictus-like, the PM moves on to
the next patient, who immediately begins to chant:
"Wee sleekit, cowerin, timrous beasty,
Thou needna start awa sae hastie,
Wi bickering brattle."
Now seriously troubled, Blair turns to the accompanying doctor and asks
"What kind of facility is this? A mental ward?"
"No," replies the doctor. "This is the serious Burns unit."
Today's humor is courtesy of Kenn.
------------------------------------------------------
;o)
Ciao,
Kenn
__________________________________________________________
Always act as if life is a joyous journey. - Kenn Yuill
Warp 4/FP15 Java 1.18 PMMail/2 2.1 Demo. Navigator 4.61
Sent from The Beautiful Ottawa Valley, Ontario, Canada
__________________________________________________________
- A Thought for Today -
If I have been able to see farther than others,
it was because I stood on the shoulders of giants.
- Sir Isaac Newton
__________________________________________________________
- pmmail-list - The PMMail Discussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com
To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com
with the first line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------