Re: [Dovecot] Namespaces and shared folders

2008-11-28 Thread bbell2000


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.



Re: [Dovecot] Namespaces and shared folders

2008-11-28 Thread Timo Sirainen

On Nov 28, 2008, at 6:44 PM, bbell2000 wrote:


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


Rather do it the other way around:


 namespace private {
 separator =
 prefix = INBOX.


prefix =



 location = maildir:~/Maildir
 inbox = yes
 }

 namespace public {
 separator = /
 prefix =


prefix = shared/

Also (assuming v1.1):

subscriptions = no



 location = maildir:/home/public/shared/Maildir
 inbox = no
 }




PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] Namespaces and shared folders

2008-11-28 Thread bbell2000

Found the clue I was looking for at
http://www.mailinglistarchive.com/dovecot@dovecot.org/msg08557.html.  Seems
to be working fine now.

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



[Dovecot] Namespaces and shared folders

2008-11-27 Thread bbell2000

I had a working dovecot install before I tried to implement shared folders
using namespaces.

I added the following to /etc/dovecot/dovecot.conf:

namespace private {
separator =
prefix =
inbox = yes
}

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

I created my shared folder using the maildirmake command that came with
qmail:

maildirmake -S /home/public/shared/Maildir
maildirmake -s write -f online /home/public/shared/Maildir
chown -R dovecot:shared /home/public/shared
find /home/public/shared -type d -exec chmod 0777 {} \;
find /home/public/shared -type f -exec chmod 0666 {} \;

At this point, the online folder shows up as a subscribable folder in
Thunderbird.  I can subscribe to online and I can still access my Inbox. 
But I can't get to any of the folders in my Inbox (Trash, Drafts, etc.).  I
can access these folders if I comment out the namespaces and revert to the
default behavior.

There are no clues in mail.err, mail.info or mail.warn -- the only messages
are the ones written when my client establishes a successful IMAP
connection.

What did I do wrong?

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