[Dovecot] Dovecot 2.0.13 and sieve

Stephan Bosch stephan at rename-it.nl
Wed Jun 22 15:29:29 EEST 2011


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?

Regards,

Stephan.


More information about the dovecot mailing list