[Dovecot] sieve :regex problem

Anders mail at flac.kalibalik.dk
Mon Jul 7 14:31:59 EEST 2008


Václav Hùla wrote:

>    I have dovecot 1.1.1 with dovecot-sieve-1.1.5 and managesieve 0.10.3.
> Everything is working, with exeption of this filter:
>
> if header :comparator "i;ascii-casemap" :regex "X-Spam-Score"
> ".*\+\+\+\+"  {
>      fileinto "Spamq";
>      stop;
> }

I think that you need more escaping: ".*\\+\\+\\+\\+"

I would also think that the X-Spam-Score header would contain a number,
but that is just me ...


Cheers,
Anders.




More information about the dovecot mailing list