I'd like to add that allowing to save messages via virtual folder to some folder
by change it defintion to

  *
  !Archive
  -Trash
  -Trash/*
  -Junk
  -Junk/*
    all

doesn't help and syncronization fails as usual:

  Jan 20 15:34:06 mx1 dovecot: 
doveadm(kir...@korins.ky)<75563><VshZA97Zq2UrJwEAeeMcAQ>: Error: Can't create 
mailbox virtual.All: Can't create virtual mailboxes

And to share my setup of virtual folder which is quite simple:

  mail_plugins = $mail_plugins virtual

  namespace virtual {
    separator = .
    prefix = virtual.

    location = virtual:/etc/dovecot/virtual:INDEX=~/virtual

    mailbox All {
      special_use = \All
      comment = All messages without Trash and Junk
    }

    mailbox Flagged {
      special_use = \Flagged
      comment = All flagged messages without Trash and Junk
    }
  }

--
wbr, Kirill
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to