[Dovecot] Problems with Shared Mailbox

Gerhard Schmidt estartu at ze.tum.de
Mon May 7 15:11:34 EEST 2007


Hi, 

i've installed dovecot on a new mailserverand try to set up some shared 
mailboxes. I have everiting up an runnig so far. 

I have 3 mboxes to be shared. 

I have use the following setup 

namespace private {
   separator =
   prefix =
   location =
   inbox = yes
   hidden = yes
}
namespace public {
  separator = /
  prefix = zentrale/
  location = mbox:/var/mail/shared:CONTROL=/var/mail/shared/.control:INDEX=/var/mail/shared/.index
}

the problem is with the dovecot.index files

[root at mailserv /var/mail/shared/.index]# ls -alR
total 6
drwxrwx---  3 dovecot   vhsal  512 May  7 13:49 .
drwxrwx---  4 mailnull  vhsal  512 May  7 13:52 ..
drwxrwx---  5 dovecot   vhsal  512 May  7 13:49 .imap
-rw-rw----  1 dovecot   vhsal    0 May  7 13:49 dovecot-shared

./.imap:
total 10
drwxrwx---  5 dovecot  vhsal  512 May  7 13:49 .
drwxrwx---  3 dovecot  vhsal  512 May  7 13:49 ..
drwxrwx---  2 dovecot  vhsal  512 May  7 13:50 Eingang
drwxrwx---  2 dovecot  vhsal  512 May  7 13:49 Erledigt
drwxrwx---  2 dovecot  vhsal  512 May  7 13:50 Spam
-rw-rw----  1 dovecot  vhsal    0 May  7 13:49 dovecot-shared

./.imap/Eingang:
total 38
drwxrwx---  2 dovecot  vhsal    512 May  7 13:50 .
drwxrwx---  5 dovecot  vhsal    512 May  7 13:49 ..
-rw-rw----  1 dovecot  vhsal      0 May  7 13:50 dovecot-shared
-rw-rw----  1 dovecot  vhsal    896 May  7 13:51 dovecot.index
-rw-rw----  1 dovecot  vhsal  23552 May  7 13:51 dovecot.index.cache
-rw-rw----  1 dovecot  vhsal   6824 May  7 13:51 dovecot.index.log

./.imap/Erledigt:
total 30
drwxrwx---  2 dovecot  vhsal    512 May  7 13:49 .
drwxrwx---  5 dovecot  vhsal    512 May  7 13:49 ..
-rw-rw----  1 dovecot  vhsal      0 May  7 13:49 dovecot-shared
-rw-rw----  1 dovecot  vhsal    456 May  7 13:52 dovecot.index
-rw-rw----  1 dovecot  vhsal  20480 May  7 13:45 dovecot.index.cache
-rw-rw----  1 dovecot  vhsal   3364 May  7 13:52 dovecot.index.log

./.imap/Spam:
total 26
drwxrwx---  2 dovecot  vhsal    512 May  7 13:50 .
drwxrwx---  5 dovecot  vhsal    512 May  7 13:49 ..
-rw-rw----  1 dovecot  vhsal      0 May  7 13:50 dovecot-shared
-rw-rw----  1 dovecot  vhsal    240 May  7 13:51 dovecot.index
-rw-rw----  1 dovecot  vhsal  17408 May  7 13:45 dovecot.index.cache
-rw-rw----  1 dovecot  vhsal    648 May  7 13:51 dovecot.index.log

When the directory is setup like this everthing works as planed. But
sometimes (havn't quite figured when exactly the dovecot.index file of 
one of the Mailboxes is regenated with the false permissions set 

./.imap/Eingang:
total 38
drwxrwx---  2 dovecot  vhsal    512 May  7 13:53 .
drwxrwx---  5 dovecot  vhsal    512 May  7 13:49 ..
-rw-rw----  1 dovecot  vhsal      0 May  7 13:50 dovecot-shared
-rw-------  1 estartu  vhsal    376 May  7 13:53 dovecot.index
-rw-rw----  1 dovecot  vhsal  23552 May  7 13:53 dovecot.index.cache
-rw-rw----  1 dovecot  vhsal   7116 May  7 13:53 dovecot.index.log

How can I gate dovecot to set the permissions of this files to rw-rw---- 

I am using Dovecot v1.0.rc29

Regards 
	Gerhard Schmidt

-- 
----------------------------------------------------------------------------
Gerhard Schmidt    | Nick : estartu      IRC : Estartu  |
Fischbachweg 3     |                                    |  PGP Public Key
86856 Hiltenfingen | EMail: estartu at augusta.de          |  on request 
Germany            | 					|  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070507/82436329/attachment-0001.pgp 


More information about the dovecot mailing list