How would I setup dovecot so that when messages are moved to the Archive mailbox, they are marked as read? Would it be similar to the imap-sieve for spam tagging? imapsieve_mailbox1_name = Junk imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve Or is there a simpler method? If it matters: mailbox Archive { auto = subscribe special_use = \Archive -- According to the philosopher Ly Tin Weedle, chaos is found in greatest abundance wherever order is being sought. It always defeats order, because it is better organized.
Does it not help to add addflag "\\Seen"; to your sieve script code? Cheers tobi ----- Originale Nachricht ----- Von: "@lbutlr" <kremels at kreme.com> Gesendet: 12.05.18 - 08:55 An: dovecot <dovecot at dovecot.org> Betreff: Marks as read on mover to Archive> How would I setup dovecot so that when messages are moved to the Archive mailbox, they are marked as read? > > Would it be similar to the imap-sieve for spam tagging? > > imapsieve_mailbox1_name = Junk > imapsieve_mailbox1_causes = COPY > imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/report-spam.sieve > > Or is there a simpler method? > > If it matters: > > mailbox Archive { > auto = subscribe > special_use = \Archive > > > > -- > According to the philosopher Ly Tin Weedle, chaos is found in greatest > abundance wherever order is being sought. It always defeats order, > because it is better organized. >
On 2018-05-12 (01:51 MDT), Tobi <tobisworld at gmail.com> wrote:> > Does it not help to add > > addflag "\\Seen"; > > to your sieve script code?I don't know. I do not currently have any sieve script code for dealing with Archives, that's sort of what I was asking. -- Lady Astor: "If you were my husband I'd give you poison." Churchill: "If you were my wife, I'd drink it."
On 2018-05-12 08:55, @lbutlr wrote:> How would I setup dovecot so that when messages are moved to the > Archive mailbox, they are marked as read? > > Would it be similar to the imap-sieve for spam tagging? > > imapsieve_mailbox1_name = Junk > imapsieve_mailbox1_causes = COPY > imapsieve_mailbox1_before = > file:/usr/lib/dovecot/sieve/report-spam.sieve > > Or is there a simpler method?I'm using that apporach to mark every mail that's moved to trash as read: imapsieve_mailbox1_name = Trash imapsieve_mailbox1_causes = COPY imapsieve_mailbox1_before = file:/srv/sieve/imapsieve/setflag-seen.sieve ## setflag-seen.sieve # set flag "\\seen" require ["imap4flags"]; setflag "\\seen";> If it matters: > > mailbox Archive { > auto = subscribe > special_use = \Archive-- Christian Kivalo
Seemingly Similar Threads
- set seen flag and junk moving a mail manually to JUNK
- set seen flag and junk moving a mail manually to JUNK
- AW: Marks as read on mover to Archive
- BUG: sieve does not set seen-Flag
- SV: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma