Re: [Dovecot] issues with ACL and Public Namespaces

2009-10-06 Thread Timo Sirainen
On Tue, 2009-10-06 at 16:18 +0200, Anton Dollmaier wrote:
 When checking the Folder Subscriptions in RoundCube, Dovecot tries to 
 find an ACL file for the public folders, but does not check the public 
 folders, but in the private Maildir:
..
  Oct  6 15:24:16 ipx02 dovecot: IMAP(us...@example.com): acl vfile: file 
  /var/mail/vmail/example.com/user6//Maildir/.shared.Transfer/dovecot-acl not 
  found
  Oct  6 15:24:16 ipx02 dovecot: IMAP(us...@example.com): acl vfile: file 
  /var/mail/vmail/example.com/user6//Maildir/.shared.Transfer.Test1/dovecot-acl
   not found
  Oct  6 15:24:16 ipx02 dovecot: IMAP(us...@example.com): Disconnected: 
  Logged out bytes=73/819

Oh, right, that's because the subscriptions are in the private
namespace. Hmm. I'll try to get this fixed soon, but if you want to get
it working now you could use:

namespace public {
  prefix = shared.
  location = maildir:/var/mail/vmail/%d/shared:CONTROL=~/shared:INDEX=~/shared
  subscriptions = yes
}

Although there's also a bug related to that where LSUB  % won't list
shared and that breaks some clients. That's fixed in v1.2.6.


signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] issues with ACL and Public Namespaces

2009-10-06 Thread Anton Dollmaier

Hi Timo,


Oh, right, that's because the subscriptions are in the private
namespace. Hmm. I'll try to get this fixed soon, but if you want to get
it working now you could use:

namespace public {
   prefix = shared.
   location = maildir:/var/mail/vmail/%d/shared:CONTROL=~/shared:INDEX=~/shared
   subscriptions = yes
}


Then subscriptions will be handled directly in the public namespace, 
therefor all users would have the same folders subscribed, right?


That would cause permission problems, as not all users are allowed to 
see every folder.




Although there's also a bug related to that where LSUB  % won't list
shared and that breaks some clients. That's fixed in v1.2.6.


Such commands are actually performed and logged in the rawlog (e.g. 
20091005-221025-26325.in), but I don't see any responses back to the client.


I'll upgrade to 1.2.6 and check if the problem still occurs.


Re: [Dovecot] issues with ACL and Public Namespaces

2009-10-06 Thread Timo Sirainen
On Tue, 2009-10-06 at 17:18 +0200, Anton Dollmaier wrote:
 Hi Timo,
 
  Oh, right, that's because the subscriptions are in the private
  namespace. Hmm. I'll try to get this fixed soon, but if you want to get
  it working now you could use:
 
  namespace public {
 prefix = shared.
 location = 
  maildir:/var/mail/vmail/%d/shared:CONTROL=~/shared:INDEX=~/shared
 subscriptions = yes
  }
 
 Then subscriptions will be handled directly in the public namespace, 
 therefor all users would have the same folders subscribed, right?

No, that's why I added the :CONTROL=~/shared.


signature.asc
Description: This is a digitally signed message part