Re: [opensuse] procmail rule confusion [OFF TOPIC]
- From: Roger Oberholtzer <roger@xxxxxx>
- Date: Thu, 28 Apr 2011 14:55:44 +0200
On Thu, 2011-04-28 at 14:44 +0200, Anders Johansson wrote:
On Thursday 28 April 2011 08:22:15 Roger Oberholtzer wrote:
I am using procmail to filter mail I receive from OBS into imap folders.
I have a few places where the sorting goes wrong, and for the life of me
I cannot see why.
Consider these two rules (in the procmail config file in this order):
:0
* ^From:.*hermes@opensuse\.org
* ^Subject:.*openSUSE_11\.2*
Shouldn't there be a dot before the 2? I'm not sure if procmail uses regular
expressions, but if it does that means "0 or more instances of '2'" and would
match openSUSE_11. regardless of what follows, no?
Hmm. I was expecting the \. to be an escaped period. Meaning that a
literal period is needed to make a match. The period in the rule string
should have no special regexp meaning and be satisfied only by a literal
period at that place in the test string. Did I get this wrong?
Yours sincerely,
Roger Oberholtzer
OPQ Systems / Ramböll RST
Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
roger.oberholtzer@xxxxxxxxxx
________________________________________
Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
www.rambollrst.se
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] procmail rule confusion [OFF TOPIC]
- From: Dimstar / Dominique Leuenberger
- Re: [opensuse] procmail rule confusion [OFF TOPIC]
- References:
- [opensuse] procmail rule confusion [OFF TOPIC]
- From: Roger Oberholtzer
- Re: [opensuse] procmail rule confusion [OFF TOPIC]
- From: Anders Johansson
- [opensuse] procmail rule confusion [OFF TOPIC]
- Prev by Date: [opensuse] LibreOffice 3.3.1 in 11.4
- Next by Date: Re: [opensuse] procmail rule confusion [OFF TOPIC]
- Previous by thread: Re: [opensuse] procmail rule confusion [OFF TOPIC]
- Next by thread: Re: [opensuse] procmail rule confusion [OFF TOPIC]
- Index(es):