Marc Roos
2018-Dec-31 13:47 UTC
BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
>>> >> I can only move messages to a root namespace folder when specifying >> inbox=yes. That is strange because it is not even the inbox. I don't >> even get why it is not by default possible, maybe bug there? >> > >This makes no sense. inbox=yes namespace means the namespace which has >'INBOX' folder as per RFC. With this configuration namespace { disabled = no hidden = no ignore_on_failure = no inbox = yes list = yes location mailbox Archive { auto = create autoexpunge = 0 autoexpunge_max_mails = 0 comment driver special_use = \Archive } mailbox Archives { auto = no autoexpunge = 0 autoexpunge_max_mails = 0 comment driver special_use = \Archive } order = 0 prefix separator = / subscriptions = yes type = private } namespace { disabled = no hidden = no ignore_on_failure = no inbox = no list = no location = mbox:/home/mail-archive/%u/Archive/:CONTROL=/home/mail-archive/%u/Archiv e/control:INDEX=/home/mail-archive/%u/Archive/index:LAYOUT=maildir++ order = 0 prefix = Archive/ separator = / subscriptions = yes type = private } I get this error message from apple mail when I right click and choose archive "The IMAP command "UID COPY" (to Archive) failed for the mailbox "INBOX" with server error: Mailbox isn't selectable" If I add the inbox=yes, the dovecot logs are flooded with Error: namespace configuration error: There can be only one namespace with inbox=yes namespace configuration error: There can be only one namespace with inbox=yes in=0 out=398 >> You have made the mistake of overloading the use of a parameter >> inbox=yes (or not creating a parameter to tell folder can be used to >> move messages to), there is indeed only one folder that gets incoming >> messages delivered to, and that is the inbox=yes. You should have >> created a 2nd parameter specifying if a folder should be allowed to >> store mail. >> > >You can deny this with ACLs. Or with filesystem permissions. > >> (I have been running this dovecot server for 20 years or so, and I am >> really surprised about still running into issues on such basic things as >> trying to put folders onto different storage. Not to mention the lack of >> help you can get here. Is there some roadmap, features implementation >> overview available? Can you make public issues on github?) >> > >I'm sorry you feel that you have not been served. Perhaps you can maybe > appreciate that we provide our support for free of charge, so it is best > effort basis, and might not always prioritize the things you find important. > >We are not unfortunately going to be making issues public on Github, >we have our own issue tracking system. >
Aki Tuomi
2018-Dec-31 13:54 UTC
BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
> On 31 December 2018 at 15:47 Marc Roos <M.Roos at f1-outsourcing.eu> wrote: > > > > > >> > >> I can only move messages to a root namespace folder when specifying > >> inbox=yes. That is strange because it is not even the inbox. I don't > > >> even get why it is not by default possible, maybe bug there? > >> > > > >This makes no sense. inbox=yes namespace means the namespace which has > >'INBOX' folder as per RFC. > > > With this configuration > > namespace { > disabled = no > hidden = no > ignore_on_failure = no > inbox = yes > list = yes > location > mailbox Archive { > auto = create > autoexpunge = 0 > autoexpunge_max_mails = 0 > comment > driver > special_use = \Archive > } > mailbox Archives { > auto = no > autoexpunge = 0 > autoexpunge_max_mails = 0 > comment > driver > special_use = \Archive > } > order = 0 > prefix > separator = / > subscriptions = yes > type = private > } > namespace { > disabled = no > hidden = no > ignore_on_failure = no > inbox = no > list = no > location = > mbox:/home/mail-archive/%u/Archive/:CONTROL=/home/mail-archive/%u/Archiv > e/control:INDEX=/home/mail-archive/%u/Archive/index:LAYOUT=maildir++ > order = 0 > prefix = Archive/ > separator = / > subscriptions = yes > type = private > } > > I get this error message from apple mail when I right click and choose > archive > "The IMAP command "UID COPY" (to Archive) failed for the mailbox "INBOX" > with server error: Mailbox isn't selectable" >Did you notice that you have a mailbox called 'Archive' and namespace called 'Archive'? Namespace roots are not selectable, and this looks more like a config error. Aki> If I add the inbox=yes, the dovecot logs are flooded with > Error: namespace configuration error: There can be only one namespace > with inbox=yes > namespace configuration error: There can be only one namespace with > inbox=yes in=0 out=398 > > >> You have made the mistake of overloading the use of a parameter > >> inbox=yes (or not creating a parameter to tell folder can be used to > > >> move messages to), there is indeed only one folder that gets > incoming > >> messages delivered to, and that is the inbox=yes. You should have > >> created a 2nd parameter specifying if a folder should be allowed to > >> store mail. > >> > > > >You can deny this with ACLs. Or with filesystem permissions. > > > >> (I have been running this dovecot server for 20 years or so, and I > am > >> really surprised about still running into issues on such basic > things as > >> trying to put folders onto different storage. Not to mention the > lack of > >> help you can get here. Is there some roadmap, features > implementation > >> overview available? Can you make public issues on github?) > >> > > > >I'm sorry you feel that you have not been served. Perhaps you can > maybe > > appreciate that we provide our support for free of charge, so it is > best > > effort basis, and might not always prioritize the things you find > important. > > > >We are not unfortunately going to be making issues public on Github, > >we have our own issue tracking system. > >
Marc Roos
2019-Jan-02 11:58 UTC
BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
>>> >> I get this error message from apple mail when I right click and choose >> archive >> "The IMAP command "UID COPY" (to Archive) failed for the mailbox "INBOX" >> with server error: Mailbox isn't selectable" >> > >Did you notice that you have a mailbox called 'Archive' and namespace called >'Archive'? Namespace roots are not selectable, and this looks more like a >config error. > > That is been done on the advice I got here. Since November I am trying to get resolved, that I need my Archive and subfolders on different storage location as the default. Furthermore Archive folder is being used by apple mail, Archives folder eg. by Thunderbird. So it would be nice to 'group' this, so Thunderbird is not accidentally storing this on the default storage. If the aliases plugin was working properly, I could have done this maybe via aliases https://www.mail-archive.com/dovecot at dovecot.org/msg75587.html
Seemingly Similar Threads
- BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
- BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
- BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
- BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"
- BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"