Re: [Dovecot] Some questions about Shared mailboxes

2010-09-01 Thread Timo Sirainen
On Fri, 2010-08-27 at 09:58 +0300, Mihajlin Evgenij wrote:
 Hi, again.
 
 1. Can somebody explain me about dovecot's shared mailboxes?

What specifically is unclear in
http://wiki2.dovecot.org/SharedMailboxes/Shared that could be improved?

 2. What does it do while searching shared mailboxes (debug_log cannot explain 
 it)? What files is it looking for?

User's mail files.. I don't really know what to answer to this.

 3. Need i set dovecot-shared file into directory which are shared (if i want 
 to 
 have separate flags for separate users)?

No.

 4. Some errors are hard to understand. For example, 
 # pwd
 /var/spool/vmail/domains/badmltd.dn.ua
 
 # ls -l
 drwx-- 3 mailnull mail 4096 Авг 27 09:24 admin
 drwx-- 3 mailnull mail 4096 Июн  3 10:51 exim
 drwx-- 3 mailnull mail 4096 Мар 26 15:08 iif
 drwx-w 3 mailnull mail 4096 Мар 11 15:53 jack
 drwx-- 2 mailnull mail 4096 Авг 27 09:28 Maildir
 drwx-w 3 mailnull mail 4096 Авг 27 09:25 test
 
 Why did dovecot create Maildir folder???

It shouldn't have done it. Delete it. If you can reproduce it, let me
know what IMAP command did that.



[Dovecot] Some questions about Shared mailboxes

2010-08-27 Thread Mihajlin Evgenij

Hi, again.

1. Can somebody explain me about dovecot's shared mailboxes?
2. What does it do while searching shared mailboxes (debug_log cannot explain 
it)? What files is it looking for?
3. Need i set dovecot-shared file into directory which are shared (if i want to 
have separate flags for separate users)?

4. Some errors are hard to understand. For example, 
# pwd
/var/spool/vmail/domains/badmltd.dn.ua

# ls -l
drwx-- 3 mailnull mail 4096 Авг 27 09:24 admin
drwx-- 3 mailnull mail 4096 Июн  3 10:51 exim
drwx-- 3 mailnull mail 4096 Мар 26 15:08 iif
drwx-w 3 mailnull mail 4096 Мар 11 15:53 jack
drwx-- 2 mailnull mail 4096 Авг 27 09:28 Maildir
drwx-w 3 mailnull mail 4096 Авг 27 09:25 test

Why did dovecot create Maildir folder???
And what mean this lines at the end of debug.log.

Aug 27 09:28:42 imap(za...@badmltd.dn.ua): Debug: Namespace : type=shared, 
prefix=shared/%n/, sep=/, inbox=no, hidden=no, list=children, subscriptions=no
Aug 27 09:28:42 imap(za...@badmltd.dn.ua): Debug: shared: 
root=/var/run/dovecot, index=, control=, inbox=
Aug 27 09:28:42 imap(za...@badmltd.dn.ua): Debug: acl: initializing backend 
with data: vfile
Aug 27 09:28:42 imap(za...@badmltd.dn.ua): Debug: acl: acl username = 
za...@badmltd.dn.ua
Aug 27 09:28:42 imap(za...@badmltd.dn.ua): Debug: acl: owner = 0
Aug 27 09:28:42 imap(za...@badmltd.dn.ua): Debug: acl vfile: Global ACL 
directory: (null)
Aug 27 09:28:46 imap(za...@badmltd.dn.ua): Debug: Namespace : Using 
permissions from /var/spool/vmail/domains/badmltd.dn.ua/zakaz/Maildir: 
mode=0700 gid=-1
Aug 27 09:28:46 imap(za...@badmltd.dn.ua): Debug: acl vfile: file 
/var/spool/vmail/domains/badmltd.dn.ua/zakaz/Maildir/dovecot-acl not found
Aug 27 09:28:46 imap(za...@badmltd.dn.ua): Debug: maildir++: 
root=/var/spool/vmail/domains/badmltd.dn.ua//Maildir, 
index=/var/spool/vmail/domains/badmltd.dn.ua/zakaz/shared/@badmltd.dn.ua, 
control=, inbox=/var/spool/vmail/domains/badmltd.dn.ua//Maildir
Aug 27 09:28:46 imap(za...@badmltd.dn.ua): Debug: Namespace shared//: 
Permission lookup failed from /var/spool/vmail/domains/badmltd.dn.ua//Maildir
Aug 27 09:28:46 imap(za...@badmltd.dn.ua): Debug: Namespace shared//: Using 
permissions from /var/spool/vmail/domains/badmltd.dn.ua//Maildir: mode=0700 
gid=-1

Thanks.