Something obvious in my sieve?

Erwan David erwan at rail.eu.org
Thu Aug 19 21:28:42 EEST 2021


Le 19/08/2021 à 20:23, @lbutlr a écrit :
> I get the following error for this: line 24 is the "contains subset" line
> .active_sieve: line 24: error: expecting test identifier after ',' in test list, but found '('.
> .active_sieve: line 24: error: expecting ',' or end of test list ')', but found '{'.
> .active_sieve: error: parse failed.
>
>    if anyof (body :contains "files transferred: 0",
>             (header :contains "subject" "a specific subject goes here" ) {
>       
> This clause produces no error
>
> if anyof (header :contains "from" "@unwanted",
>           envelope :matches :detail "to" "extension",
>           exists "X-Facebook" ){
>
> What am I missing?
>
You must not put an opening parenthesis before the "header :contains",
it is the second clause of the anyof




More information about the dovecot mailing list