Hi Ranbir, i think youre just using the wrong quota backend. https://wiki2.dovecot.org/Quota You should switch from "quota = maildir...." to another one, like dict. Converting your Public mailbox you could try this ( no guarantee .. just guessing. make backup ! ): doveadm -o mail_location="maildir:/var/spool/mail/thesandhufamily.ca/public" sync sdbox:/target/folder Regards, Daniel> > Hi Everyone, > > I migrated my maildir mailboxes to sdbox without any show stopping errors, > but I did see this during the migration and now I'm also seeing it in the log: > > Warning: quota: Namespace '' is not Maildir, skipping for Maildir++ quota > > I'm not quite sure why this is happening. Any ideas? > > I am using a "public" namespace for several mailboxes to share emails: > > # public namespace configuration > namespace { > type = public > # the default separator for Maildir is ".", so that is what should be > # used automatically. > separator = . > prefix = Public. > location = maildir:/var/spool/mail/thesandhufamily.ca/public > subscriptions = no > } > > Under the "public" dir in the old maildir setup, I have folders configured for > various mail accounts. For example: > > .Ads > .Junk > .Bills > > etc. > > These "users" are setup in a passwd file so that I can use a different mail > storage location for them than the one they get from ldap (same as above). > > Using dsync to migrate my other mailboxes was easy, but I don't know how > to migrate these public mailboxes. I looked through the wiki and didn't see > anything about how to do it. Could someone explain how I can migrate the > public mailboxes? > > > -- > Ranbir >
<!doctype html> <html> <head> <meta charset="UTF-8"> </head> <body> <div> quota count is currently most recommended. </div> <div> <br> </div> <div> Aki </div> <blockquote type="cite"> <div> On 13 June 2019 16:05 Daniel Betz via dovecot < <a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote: </div> <div> <br> </div> <div> <br> </div> <div> Hi Ranbir, </div> <div> <br> </div> <div> i think youre just using the wrong quota backend. </div> <div> <br> </div> <div> <a href="https://wiki2.dovecot.org/Quota" rel="noopener" target="_blank">https://wiki2.dovecot.org/Quota</a> </div> <div> <br> </div> <div> You should switch from "quota = maildir...." to another one, like dict. </div> <div> <br> </div> <div> Converting your Public mailbox you could try this ( no guarantee .. just guessing. make backup ! ): </div> <div> doveadm -o mail_location="maildir:/var/spool/mail/thesandhufamily.ca/public" sync sdbox:/target/folder </div> <div> <br> </div> <div> Regards, </div> <div> Daniel </div> <div> <br> </div> <div> <br> </div> <blockquote type="cite"> <div> Hi Everyone, </div> <div> <br> </div> <div> I migrated my maildir mailboxes to sdbox without any show stopping errors, </div> <div> but I did see this during the migration and now I'm also seeing it in the log: </div> <div> <br> </div> <div> Warning: quota: Namespace '' is not Maildir, skipping for Maildir++ quota </div> <div> <br> </div> <div> I'm not quite sure why this is happening. Any ideas? </div> <div> <br> </div> <div> I am using a "public" namespace for several mailboxes to share emails: </div> <div> <br> </div> <div> # public namespace configuration </div> <div> namespace { </div> <div> type = public </div> <div> # the default separator for Maildir is ".", so that is what should be </div> <div> # used automatically. </div> <div> separator = . </div> <div> prefix = Public. </div> <div> location = maildir:/var/spool/mail/thesandhufamily.ca/public </div> <div> subscriptions = no </div> <div> } </div> <div> <br> </div> <div> Under the "public" dir in the old maildir setup, I have folders configured for </div> <div> various mail accounts. For example: </div> <div> <br> </div> <div> .Ads </div> <div> .Junk </div> <div> .Bills </div> <div> <br> </div> <div> etc. </div> <div> <br> </div> <div> These "users" are setup in a passwd file so that I can use a different mail </div> <div> storage location for them than the one they get from ldap (same as above). </div> <div> <br> </div> <div> Using dsync to migrate my other mailboxes was easy, but I don't know how </div> <div> to migrate these public mailboxes. I looked through the wiki and didn't see </div> <div> anything about how to do it. Could someone explain how I can migrate the </div> <div> public mailboxes? </div> <div> <br> </div> <div> <br> </div> <div> -- </div> <div> Ranbir </div> </blockquote> </blockquote> <div> <br> </div> <div class="io-ox-signature"> <pre>--- Aki Tuomi</pre> </div> </body> </html>
On Thu, 2019-06-13 at 13:05 +0000, Daniel Betz via dovecot wrote:> i think youre just using the wrong quota backend. > > https://wiki2.dovecot.org/Quota > > You should switch from "quota = maildir...." to another one, like > dict.I switched to "quota = count:User quota" (as Aki suggested) and now the errors are gone. Thanks to the both of you!> Converting your Public mailbox you could try this ( no guarantee .. > just guessing. make backup ! ): > doveadm -o > mail_location="maildir:/var/spool/mail/thesandhufamily.ca/public" > sync sdbox:/target/folderThanks for the pointer! This is what worked for me (no errors): doveadm -o mail_location="maildir:/var/spool/mail/thesandhufamily.ca/public" sync sdbox:/var/spool/mail/thesandhufamily.ca/public-mail/ I was using a "." as the separator in my private inbox and public namespaces when I was using maildir. I still have "." set and don't appear to be having any issues now that I've migrated to sdbox. However, when I try to switch the separator to "/", I get errors like this: Error: namespace configuration error: list=yes namespace missing I had changed the "list" parameter for both namespaces to "children" and "no", but I still got the same error. I also can't access my mailboxes after changing the separator to "/". Changing the config back to "." returns me to a working setup. What am I missing/not understanding? Thanks in advance! -- Ranbir