Ich habe schnell dovecot mit Roundcube aufgesetzt und beim ersten löschen einer Mail sprang mir folgende meldung entgegen „UID COPY: Mailbox doesn’t exist: Trash„.
Die Lösung ist einfach und schnell:
/etc/dovecot/config/20-imap.conf:
namespace inbox { mailbox Trash { auto = subscribe special_use = \Trash } mailbox Drafts { auto = subscribe special_use = \Drafts } mailbox Sent { auto = subscribe special_use = \Sent } mailbox "Sent Messages" { auto = create special_use = \Sent } mailbox Spam { auto = create special_use = \Junk } mailbox virtual/All { # if you have a virtual "All messages" mailbox auto = no special_use = \All } }
Für „auto“ gibt es mehrere möglichkeiten, no=nicht automatisch erstellen, create=erstellt abonniert jedoch nicht und subscribe=erstellt und abonniert den Ordner sofort.