Default sieve mark seen?
@lbutlr
kremels at kreme.com
Fri Sep 18 19:51:19 EEST 2020
Any ideas on this?
> On 05 Sep 2020, at 11:47, @lbutlr <kremels at kreme.com> wrote:
>
> I have the following in my default.sieve file:
>
> require "fileinto";
> if header :contains "X-spam-flag" "YES" {
> require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables", "imap4flags"];
> setflag "\\Seen";
> fileinto "Junk";
> }
>
> This is largely unchanged, except that I added imap4flags and set flag "\\Seen"; recently.
>
> The messages still get filed into the user's Junk folder, but they are still marked as unread.
>
> I also have
>
> imapsieve_mailbox3_name = Archive
> imapsieve_mailbox3_causes = COPY
> imapsieve_mailbox3_before = file:/usr/lib/dovecot/sieve/mark-read.sieve
>
> # cat /usr/lib/dovecot/sieve/mark-read.sieve
> require ["imap4flags"];
> setflag "\\seen";
>
> Which works fine.
>
> How do I fix this?
--
'I thought dwarfs didn't believe in devils and demons and stuff like that.'
'That's true, but... we're not sure if they know.'
More information about the dovecot
mailing list