[Dovecot] Namespaces and shared folders

bbell2000 b311b-dovecot at theotherbell.com
Fri Nov 28 18:44:19 EET 2008



giuliano wrote:
> 
> 
> I prefer to define everything, even the values that have a default, so  
> I would define
> location (even if mail_location should apply to the default namespace)  
> and the separator.
> 

Great suggestion.  I've changed my namespaces as follows:

  namespace private {
  separator =
  prefix = INBOX.
  location = maildir:~/Maildir
  inbox = yes
  }

  namespace public {
  separator = /
  prefix =
  location = maildir:/home/public/shared/Maildir
  inbox = no
  }

I seem to now have all of my Inbox folders working, and my shared folders
are working for read-only.  But when I try to drag a message from my Inbox
into one of the shared folders, I get an "Unknown namespace" error.

I enabled debug logging and see the following in syslog (and mail.info):

Nov 28 11:41:30 snappy dovecot: imap-login: Login: user=<bbell>,
method=PLAIN, rip=172.30.1.116, lip=172.30.1.6, TLS
Nov 28 11:41:30 snappy dovecot: IMAP(bbell): Effective uid=1000, gid=1000,
home=/home/bbell
Nov 28 11:41:30 snappy dovecot: IMAP(bbell): Namespace: type=private,
prefix=INBOX., sep=, inbox=yes, hidden=no, subscriptions=no
Nov 28 11:41:30 snappy dovecot: IMAP(bbell): maildir:
data=/home/bbell/Maildir
Nov 28 11:41:30 snappy dovecot: IMAP(bbell): maildir:
root=/home/bbell/Maildir, index=/home/bbell/Maildir, control=, inbox=
Nov 28 11:41:30 snappy dovecot: IMAP(bbell): Namespace: type=public,
prefix=Public/, sep=/, inbox=no, hidden=no, subscriptions=no
Nov 28 11:41:30 snappy dovecot: IMAP(bbell): maildir:
data=/home/public/shared/Maildir
Nov 28 11:41:30 snappy dovecot: IMAP(bbell): maildir:
root=/home/public/shared/Maildir, index=/home/public/shared/Maildir,
control=, inbox=

I'm obviously still doing something wrong.  Clues?

-- 
View this message in context: http://www.nabble.com/Namespaces-and-shared-folders-tp20727713p20737416.html
Sent from the Dovecot mailing list archive at Nabble.com.



More information about the dovecot mailing list