Hi, I set a virtual namespace, and for new users, there is no root dir for it. namespace private { separator = / prefix = virtual/ location = virtual:~/Maildir/virtual list = no hidden = yes } log: Apr 10 12:14:41 mail dovecot: IMAP(test1 at xueron.com):Namespace 'virtual/': virtual: Root mail directory doesn't exist:/home/data/test1 at xueron.com/Maildir/virtual Apr 10 12:14:41 mail dovecot: Fatal: IMAP(test1 at xueron.com): Namespace initialization failed Apr 10 12:15:27 mail dovecot: Killed with signal 15 (by pid=26918 uid=0 code=kill) How to do then? Thanks :) -- Xueron Nee http://www.xueron.com
Timo Sirainen
2009-Apr-12 02:09 UTC
[Dovecot] Can virtual mailboxes created automatically?
On Fri, 2009-04-10 at 13:06 +0800, Xueron Nee wrote:> I set a virtual namespace, and for new users, there is no root dir for > it...> Apr 10 12:14:41 mail dovecot: IMAP(test1 at xueron.com):Namespace 'virtual/': virtual: Root mail directory doesn't exist:/home/data/test1 at xueron.com/Maildir/virtualSo do you want to create some virtual mailboxes automatically, or do you simply want Dovecot to ignore the namespace if the directory doesn't exist? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090411/e37da156/attachment-0002.bin>
On Sat, 11 Apr 2009 22:09:02 -0400 Timo Sirainen <tss at iki.fi> wrote:> On Fri, 2009-04-10 at 13:06 +0800, Xueron Nee wrote: > > I set a virtual namespace, and for new users, there is no root dir for > > it. > . > > Apr 10 12:14:41 mail dovecot: IMAP(test1 at xueron.com):Namespace 'virtual/': virtual: Root mail directory doesn't exist:/home/data/test1 at xueron.com/Maildir/virtual > > So do you want to create some virtual mailboxes automatically, or do you > simply want Dovecot to ignore the namespace if the directory doesn't > exist? >I think create virtual mailboxes automatically is much better for me :) I want to let users to set up there virtual mailboxes for POP3. So, a default or template of 'dovecot-virtual' for auto-created virtual mailboxes is good :) If just ignore the virtual namespace, maybe POP3 users will make RealMails/ namespace as the 'inbox=yes' one. :) Thanks ... -- Xueron Nee http://www.xueron.com