[Dovecot] Dovecot 2.0.13 and sieve
Claudio Prono
claudio.prono at atpss.net
Wed Jun 22 15:48:22 EEST 2011
Il 22/06/2011 14.29, Stephan Bosch ha scritto:
>
> Op 22-6-2011 13:36, Claudio Prono schreef:
>> Il 14/06/2011 23.01, Stephan Bosch ha scritto:
>>>
>>> I'm currently on vacation and I can't quite get my head around these
>>> regexes. The best thing you can do now is debug it in more detail by
>>> using the sieve-test trace debugging features (using -t and -T
>>> options), as documented in the man page. This way, you can see what is
>>> matched how and which actions are performed. Then, you can narrow it
>>> down to one specific failing test.
>> I have tryied with the debug level higher of sieve-test, and the result
>> is the following:
>>
>> sieve-test -t - -Tlevel=matching /tmp/.dovecot.sieve
>> 1308741872.M858197P18322.mail2\,S\=1138\,W\=1168
>>
> <snip/>
>> 8: header test
>> 8: starting `:regex' match with `i;ascii-casemap' comparator:
>> 8: extracting `Received' headers from message
>> 8: matching value `from private (charon.mediaservice.net
>> [213.254.20.254])'
>> 8: with regex `^.*(2011) (\(.*\) )?..:..:.. (\(.*\)
>> )?(\+|\-)....( \(.*\))?$' [id=0] => 0
>> 8: finishing match with result: not matched
>
> <snip/>
>
>> As i can see, the regex of the year is not matching.... but why? Also,
>> the other regex for the Month or the day, are not matching (tested
>> commented out).
>
> Well, for one, in the value being matched there is no date. Could you
> provide an example of a failing message so we can check why the data
> retrieved from the Received header does not contain any date info?
>
Sure, here it is:
Return-Path: <claudio.prono at atpss.net>
Delivered-To: claudio at mediaservice.net
Received: from private (XXX.mediaservice.net [XXX.XXX.XXX.XXX])
Message-ID: <4E01D0EF.5010300 at atpss.net>
Date: Wed, 22 Jun 2011 13:24:31 +0200
From: Claudio Prono <claudio.prono at atpss.net>
Reply-To: claudio.prono at atpss.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; it; rv:1.9.2.17)
Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: claudio <claudio at mediaservice.net>
Subject: test
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
--
--------------------------------------------------------------------------------
Claudio Prono OPST
System Developer
Gsm: +39-349-54.33.258
@PSS Srl Tel: +39-011-32.72.100
Via San Bernardino, 17 Fax: +39-011-32.46.497
10141 Torino - ITALY http://atpss.net/disclaimer
--------------------------------------------------------------------------------
PGP Key - http://keys.atpss.net/c_prono.asc
More information about the dovecot
mailing list