Problem in Pigeonhole sievec

Stephan Bosch stephan at rename-it.nl
Wed May 30 11:11:43 EEST 2018


Hi,

Can you send me that script?

Regards,

Stephan.
Op 28-5-2018 om 13:07 schreef Thorsten Hater:
> Dear all,
>
> I stumbled upon the following behaviour of Pigeonhole, which I consider
> to be problematic. A user deployed a Sieve script similar to the 
> following snippet
>
> if not anyof (address :is ["from","cc"] ["...", ..., "... at ...
> GARBAGE", ...] {
>   fileinto "inbox.Trash";
>   stop;
> }
>
> Note the extra line break before GARBAGE. This script is obviously broken,
> but gets accepted by sievec and only fails later, at runtime with
> line X: error: found stray carriage-return (CR) character in quoted
>      string started at line X.
> So, the question is whether line breaks in strings are allowed in general
> and the runtime error is unavoidable, or should sievec return an error?
>
> Best regards,
>  Thorsten



More information about the dovecot mailing list