Summary | start/end date matching of vacation does not work |
Queue | Ingo |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | |
Requester | adrieder (at) sbox (dot) tugraz (dot) at |
Created | 06/05/2007 (6612 days ago) |
Due | |
Updated | 06/16/2007 (6601 days ago) |
Assigned | |
Resolved | 06/16/2007 (6601 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
coordinated with the bug.
http://cvs.horde.org/diff.php/ingo/lib/Script/sieve.php?r1=1.106&r2=1.107&ty=u
could someone confirm this?
vacations doesn't work anymore. Reverting back time vacations patch
helped.
My systems is running on Cyrus 2.3.7 and Postfix 2.3.3.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ start/end date matching of vacation does not worl
Queue ⇒ Ingo
State ⇒ Unconfirmed
vacation are not working correctly (at least not for cyrus 2.3.8 /
sendmail 8.14.1 / lmtp)
here is a header of a message which was not matched by the ingo/sieve
vacation rule following below:
Return-Path: <xyz.xyz@xyz>^M
Received: from email.tugraz.at ([unix socket])^M
by mail.tugraz.at (Cyrus v2.3.8) with LMTPA;^M
Tue, 05 Jun 2007 12:27:49 +0200^M
X-Sieve: CMU Sieve 2.3^M
Received: from mailrelay.tugraz.at (mailrelay.tu-graz.ac.at [129.27.2.202])^M
by email.tugraz.at (8.14.1/8.14.1) with ESMTP id l55ARmES029257^M
for <abc.abc@abc.abc>; Tue, 5 Jun 2007 12:27:48 +0200 (CEST)^M
Received: from webmail.tugraz.at (webmail.tu-graz.ac.at [129.27.2.204])^M
by mailrelay2.tugraz.at (8.14.1/8.14.1) with ESMTP id l55ARkpe012381^M
for <abc.abc@abc.abc>; Tue, 5 Jun 2007 12:27:46 +0200 (CEST)^M
Received: from igbgate.tu-graz.ac.at (igbgate.tu-graz.ac.at^M
[129.27.145.220]) by webmail.tugraz.at (Horde MIME library)
with HTTP; Tue,^M
05 Jun 2007 12:27:45 +0200^M
Message-ID: <20070605122745.da6zn6rs0gksg4gg@webmail.tugraz.at>^M
X-Priority: 3 (Normal)^M
Date: Tue, 05 Jun 2007 12:27:45 +0200^M
From: Rieder Dietmar <xyz.xyz@xyz.xyz>^M
To: abc.abc@abc.abc^M
Subject: test^M
MIME-Version: 1.0^M
Content-Type: text/plain;^M
charset=UTF-8;^M
DelSp="Yes";^M
format="flowed"^M
Content-Disposition: inline^M
Content-Transfer-Encoding: 7bit^M
User-Agent: Internet Messaging Program (IMP) H3 (4.2-cvs)^M
X-Organization: Graz University of Technology^M
X-Originating-IP: 129.27.145.220^M
X-Remote-Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4)^M
Gecko/20070515 Firefox/2.0.0.4^M
X-Spam-Scanner: SpamAssassin 3.002000 ^M
X-Spam-Score-relay: -4.4^M
X-Scanned-By: MIMEDefang 2.62 on 129.27.3.25^M
X-Scanned-By: milter-sender/1.14.912 .912 (mail [129.27.3.25]); Tue,
05 Jun 2007 12:27:49 +0200^M
X-Scanned-By: MIMEDefang 2.62 on 129.27.10.19^M
X-TUG-wl: 129.27.2.202^M
(Note, that the lines end with \r\n, which is not matched by the "$"
at the end, at least not with egrep).
ingo vacation rule:
if allof ( not exists ["list-help", "list-unsubscribe",
"list-subscribe", "list-owner", "list-post", "list-archive",
"list-id"], not header :comparator "i;ascii-case
map" :is "Precedence" "list,bulk", not header :comparator
"i;ascii-casemap" :is "X-Spam-Flag" "YES" ) {
if header :regex "Received" "^.*(2007) (\\(.*\\) )?..:..:..
(\\(.*\\) )?(\\+|\\-)....( \\(.*\\))?$" {
if header :regex "Received" "^.*(Jun) (\\(.*\\) )?.... (\\(.*\\)
)?..:..:.. (\\(.*\\) )?(\\+|\\-)....( \\(.*\\))?$" {
if header :regex "Received" "^.*(1 |2 |3 |4 |5 |6 |7 |8 |9 |10)
(\\(.*\\) )?... (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\)
)?(\\+|\\-)....( \\(.*\\))?$" {
vacation :days 12 :addresses "abc.abc@abc.abc" :subject "Away" "I am
away from 01.06.2007 until 10.05.2007
";
}
}
}
}
Note: egrep "^.*(2007) (\\(.*\\) )?..:..:.. (\\(.*\\) )?(\\+|\\-)....
( \\(.*\\))?(.)?(.)$" gives no result
if I omit the trailing "$" the regex matches for egrep.