[Dovecot] shared virtual (plugin) mailboxes?
With the virtual plugin is it possible to create shared virtual mailboxes? It seems to work (I created them under /etc/dovecot/virtual) but I wanted to make sure it is supported.
-frank
On Fri, 2009-12-11 at 13:56 -0500, Frank Cusack wrote:
With the virtual plugin is it possible to create shared virtual mailboxes? It seems to work (I created them under /etc/dovecot/virtual) but I wanted to make sure it is supported.
Just make sure the index files aren't shared. So something like:
location = virtual:/etc/dovecot/virtual:INDEX=~/Maildir/virtual
On December 11, 2009 1:58:30 PM -0500 Timo Sirainen tss@iki.fi wrote:
On Fri, 2009-12-11 at 13:56 -0500, Frank Cusack wrote:
With the virtual plugin is it possible to create shared virtual mailboxes? It seems to work (I created them under /etc/dovecot/virtual) but I wanted to make sure it is supported.
Just make sure the index files aren't shared. So something like:
location = virtual:/etc/dovecot/virtual:INDEX=~/Maildir/virtual
That doesn't seem to work. First I get Fatal: Namespace initialization failed virtual: Root mail directory doesn't exist: /var/maildir/frank/virtual.
If I create that directory, then I can login but I can't see the virtual mailboxes. If I start creating subdirectories matching the virtual mailboxes I can start to see them but no messages inside and no errors in the log.
-frank
On Fri, 2009-12-11 at 14:14 -0500, Frank Cusack wrote:
location = virtual:/etc/dovecot/virtual:INDEX=~/Maildir/virtual
That doesn't seem to work. First I get Fatal: Namespace initialization failed virtual: Root mail directory doesn't exist: /var/maildir/frank/virtual.
Are you sure you wrote it exactly like above? That error message looks like you did virtual:~/Maildir/virtual.
On December 11, 2009 2:18:08 PM -0500 Timo Sirainen tss@iki.fi wrote:
On Fri, 2009-12-11 at 14:14 -0500, Frank Cusack wrote:
location = virtual:/etc/dovecot/virtual:INDEX=~/Maildir/virtual
That doesn't seem to work. First I get Fatal: Namespace initialization failed virtual: Root mail directory doesn't exist: /var/maildir/frank/virtual.
Are you sure you wrote it exactly like above? That error message looks like you did virtual:~/Maildir/virtual.
location = virtual:/etc/dovecot/virtual:INDEX=/var/maildir/%n/virtual
(/var/maildir/%n is in fact the same as ~ right now using a file but later when I use LDAP it won't be)
I got it working with INDEX=MEMORY but is probably fine considering the nature of virtual mailboxes.
-frank
On Fri, 2009-12-11 at 14:26 -0500, Frank Cusack wrote:
On December 11, 2009 2:18:08 PM -0500 Timo Sirainen tss@iki.fi wrote:
On Fri, 2009-12-11 at 14:14 -0500, Frank Cusack wrote:
location = virtual:/etc/dovecot/virtual:INDEX=~/Maildir/virtual
That doesn't seem to work. First I get Fatal: Namespace initialization failed virtual: Root mail directory doesn't exist: /var/maildir/frank/virtual.
Are you sure you wrote it exactly like above? That error message looks like you did virtual:~/Maildir/virtual.
location = virtual:/etc/dovecot/virtual:INDEX=/var/maildir/%n/virtual
What does it log with mail_debug=yes? The above location should work, and it does work with me..
On December 11, 2009 2:41:58 PM -0500 Timo Sirainen tss@iki.fi wrote:
On Fri, 2009-12-11 at 14:26 -0500, Frank Cusack wrote:
On December 11, 2009 2:18:08 PM -0500 Timo Sirainen tss@iki.fi wrote:
On Fri, 2009-12-11 at 14:14 -0500, Frank Cusack wrote:
location = virtual:/etc/dovecot/virtual:INDEX=~/Maildir/virtual
That doesn't seem to work. First I get Fatal: Namespace initialization failed virtual: Root mail directory doesn't exist: /var/maildir/frank/virtual.
Are you sure you wrote it exactly like above? That error message looks like you did virtual:~/Maildir/virtual.
location = virtual:/etc/dovecot/virtual:INDEX=/var/maildir/%n/virtual
What does it log with mail_debug=yes? The above location should work, and it does work with me..
Works for me now also. I am 100% sure that the config is exactly the same as when it didn't work. I changed the config back, added debug, removed the /var/maildir/frank/virtual directory and now it works.
very odd.
-frank
participants (2)
-
Frank Cusack
-
Timo Sirainen