Sieve question

Stephan Bosch stephan at rename-it.nl
Wed Jul 3 10:28:08 EEST 2019



On 03/07/2019 04:44, @lbutlr via dovecot wrote:
> I have the following in my active sieve file, and there are no errors logged.
>
>
> if header :contains "to" "+root" {
>     setflag "\\Seen";
>     fileinto :create "root";
>     stop;
> }
>
> The message is put in .root, bit is not marked as seen.
>
> Is the default action to put mail in a folder matching the extension taking precedence?

That should work. What version is this (output from `dovecot -`n`)? 
There have been some bugs with flags in the recent history.

Regards,

Stephan.


More information about the dovecot mailing list