<html><head></head><body><div>Hi,</div><div><br></div><div>this setting might work. The default namespace "inbox" is managing INBOX and defines Special-Use folders on the same hierarchic level as INBOX. There is an extra namespace "4archives" which defines Archive as a mailbox on the same level as INBOX but stored on a different location. Set mailbox attribute auto to your liking.</div><div><br></div><div><br></div><div>namespace inbox {</div><div> type = private</div><div> disabled = no</div><div> hidden = no</div><div> list = yes</div><div> ignore_on_failure = no</div><div> inbox = yes</div><div> location =</div><div> prefix =</div><div> subscriptions = yes</div><div> separator = /</div><div><br></div><div><div> mailbox Drafts {</div><div> special_use = \Drafts</div><div> auto = subscribe</div><div> }</div><div> mailbox Junk {</div><div> special_use = \Junk</div><div> auto = subscribe</div><div> }</div><div> mailbox Spam {</div><div> special_use = \Junk</div><div> auto = no</div><div> }</div><div> mailbox spam {</div><div> special_use = \Junk</div><div> auto = no</div><div> }</div><div><div> mailbox Deleted {</div><div> special_use = \Trash</div><div> auto = subscribe</div><div> }</div><div> mailbox Trash {</div></div><div> special_use = \Trash</div><div> auto = no</div><div> }</div><div> mailbox Wastebasket {</div><div> special_use = \Trash</div><div> auto = no</div><div> }</div><div> mailbox Sent {</div><div> special_use = \Sent</div><div> auto = subscribe</div><div> }</div><div> mailbox "Sent Messages" {</div><div> special_use = \Sent</div><div> auto = no</div><div> }</div><div> mailbox "Sent Mail" {</div><div> special_use = \Sent</div><div> auto = no</div><div> }</div><div> mailbox "Tasks" {</div><div> # This mailbox has no official RFC 6154 or RFC 8457 Special-Use entry</div><div> auto = subscribe</div><div> }</div></div><div>}</div><div><br></div><div><div>namespace 4archives {</div><div> type = private</div><div> disabled = no</div><div> hidden = no</div><div> list = yes</div><div> ignore_on_failure = no</div><div> inbox = no</div><div> location = mbox:/home/mail-archive/%u/Archive/:CONTROL=/home/mail-archive/%u/Archive/control:INDEX=/home/mail-archive/%u/Archive/index:LAYOUT=maildir++</div><div> prefix = </div><div> subscriptions = yes</div><div> separator = /</div><div> mailbox Archive {</div><div> auto = create</div><div> autoexpunge = 0</div><div> autoexpunge_max_mails = 0</div><div> comment =</div><div> driver =</div><div> special_use = \Archive</div><div> }</div><div><div> mailbox Archives {</div><div> auto = no</div><div> autoexpunge = 0</div><div> autoexpunge_max_mails = 0</div><div> comment =</div><div> driver =</div><div> special_use = \Archive</div><div> }</div></div><div><div><div> mailbox "Archived Messages" {</div><div> auto = no</div><div> autoexpunge = 0</div><div> autoexpunge_max_mails = 0</div><div> comment =</div><div> driver =</div><div> special_use = \Archive</div><div> }</div><div><div> mailbox "Archived mail" {</div><div> auto = no</div><div> autoexpunge = 0</div><div> autoexpunge_max_mails = 0</div><div> comment =</div><div> driver =</div><div> special_use = \Archive</div><div> }</div></div></div></div><div>}</div><div><br></div><div><br></div></div><div><br></div><div>On Fri, 2019-01-04 at 12:06 +0100, Marc Roos wrote:</div><blockquote type="cite"><div> </div><div><br></div><div>Where is a manual describing how to do this? Archive tree on different </div><div>storage?</div><div><br></div><div>├── Archive/Archives/Archived Messages/Archived mail <- need to store </div><div>messages in root folder also</div><div>│ ├── 2017</div><div>│ │ ├── projects</div><div>│ │ │ ├── project</div><div>│ │ │ ├── project1</div><div>│ │ │ ├── project2</div><div>│ │ │ ├── project3</div><div>│ │ │ ├── project4</div><div>│ │ │ └── project5</div><div>│ │ └── Sent Messages</div><div>│ ├── 2018</div><div>│ │ ├── project1</div><div>│ │ ├── project2</div><div>│ │ ├── project3</div><div>│ │ ├── project4</div><div>│ │ ├── project5</div><div>│ │ └── Sent</div><div>│ └── 2019</div><div>│ ├── projectA</div><div>│ └── projectB</div><div>├── Deleted</div><div>├── Inbox</div><div>├── Junk</div><div>├── Sent</div><div>└── Tasks</div><div><br></div><div><br></div><div> ></div><div> >> </div><div> >> I get this error message from apple mail when I right click and </div><div>choose </div><div> >> archive</div><div> >> "The IMAP command "UID COPY" (to Archive) failed for the mailbox </div><div>"INBOX" </div><div> >> with server error: Mailbox isn't selectable"</div><div> >> </div><div> ></div><div> >Did you notice that you have a mailbox called 'Archive' and namespace </div><div>called</div><div> >'Archive'? Namespace roots are not selectable, and this looks more </div><div>like a </div><div> >config error.</div><div> ></div><div> ></div><div><br></div><div>That is been done on the advice I got here. </div><div>Since November I am trying to get resolved, that I need my Archive and </div><div>subfolders on different storage location as the default. Furthermore </div><div>Archive folder is being used by apple mail, Archives folder eg. by </div><div>Thunderbird. So it would be nice to 'group' this, so Thunderbird is not </div><div>accidentally storing this on the default storage.</div><div><br></div><div>If the aliases plugin was working properly, I could have done this maybe </div><div><br></div><div>via aliases</div><div><a href="https://www.mail-archive.com/dovecot@dovecot.org/msg75587.html">https://www.mail-archive.com/dovecot@dovecot.org/msg75587.html</a></div><div><br></div><div><br></div></blockquote></body></html>