Hi,
first.. i'm new on this list :-) and use dovecot 1.01rc17 under fedora core 5. And i read the list of the last 4 moth and didn't found answers to my questions........
now i work with shared folders and got it running on the following configuration:
namespace private { seperator = . prefix = location = maildir:/srv/imapd/user/%u/maildir inbox = yes }
namespace public {
seperator = .
prefix = Public.
location =
maildir:/imapd/shared/public/maildir:CONTROL=/imapd/user/%u/shared-settings/public/control:INDEX=/imapd/user/%u/shared-settings/public/index
hidden = no
}
location is one line :-)
I have different questions to this configuration:
if i use "hidden = no" at the private namespace, the complete namespace isn't viewable, if i use "hidden = yes" i see the prefix "private" at the foldernames in my emailclient. Shouldn't be a non existing hidden option the same like "hidden = no"?
if use / as the seperator like dokumented at the wiki it doesn't work. with a dot like the seperator at the directories for the emailfolder it works.
is there a way to implement ACL for virtuell user in this configuration?
The namespace could be a very interesting idea to give other user access to the own mailbox (e.g. for holiday), but for this each user need it's own acl-file which he can change.... And the special folder like Inbox must be viewable from another user.
The both last could be realized with an option like "ACL = /imapd/user/%u/rights" to include an file with acldefinition at the namespacedefiniton. Another way could be a option like "ACL_R = user, user, group, group" inside of the namespacedefinition with definition of user and group outside of the namespacedefintion. For me a LDAP request would the best way :-) i realize the complete emailconfiguration with ldap.
Stefan
On Wed, 2007-01-10 at 00:09 +0100, Stefan Klatt wrote:
namespace private { seperator = . prefix = location = maildir:/srv/imapd/user/%u/maildir inbox = yes }
namespace public { seperator = . prefix = Public. location =
maildir:/imapd/shared/public/maildir:CONTROL=/imapd/user/%u/shared-settings/public/control:INDEX=/imapd/user/%u/shared-settings/public/index hidden = no }
Looks ok.
if i use "hidden = no" at the private namespace, the complete namespace isn't viewable,
"complete" meaning what? Some do show?
if i use "hidden = yes" i see the prefix "private" at the foldernames in my emailclient.
You haven't configured "private" prefix anywhere, so they're probably in the mailbox names themselves..?
Shouldn't be a non existing hidden option the same like "hidden = no"?
Yes, it defaults to no.
if use / as the seperator like dokumented at the wiki it doesn't work.
Why? Probably a client problem.
I'm thinking most of your problem are probably related to client problems or possibly the mailbox names themselves.
See "Check that it finds other mailboxes" in http://wiki.dovecot.org/TestInstallation
Try with that instead of with IMAP clients, and see if it works then as expected.
is there a way to implement ACL for virtuell user in this configuration?
The namespace could be a very interesting idea to give other user access to the own mailbox (e.g. for holiday), but for this each user need it's own acl-file which he can change.... And the special folder like Inbox must be viewable from another user.
The both last could be realized with an option like "ACL = /imapd/user/%u/rights" to include an file with acldefinition at the namespacedefiniton. Another way could be a option like "ACL_R = user, user, group, group" inside of the namespacedefinition with definition of user and group outside of the namespacedefintion. For me a LDAP request would the best way :-) i realize the complete emailconfiguration with ldap.
Well, Dovecot doesn't currently really support these kind of shared mailboxes, but you might be able to kludge it:
With ACL plugin you can create dovecot-acls file to the maildirs that you want to share to others. http://wiki.dovecot.org/ACL
Then you could create some new namespace like:
namespace shared { seperator = . prefix = Shared. location = maildir:/srv/imapd/user/%u/maildir/shared inbox = yes }
Then the shared/ directory would contain symlinks to the other users' maildirs that you want to access. Anyway remember then that if you delete dovecot-acls file or don't load the ACL plugin, the user has full access to the mailbox..
Hello Timo,
if i use "hidden = no" at the private namespace, the complete namespace isn't viewable,
"complete" meaning what? Some do show? I don't see any folder in the private namespace. I see only the folder of public namespace. I tried this configuration once more and the same happend.
if i use "hidden = yes" i see the prefix "private" at
the foldernames in my emailclient. you haven't configured "private" prefix anywhere, so they're probably i the mailbox narivate."... mes themselves..? no. if i didn't configure the option "hidden" i saw all normal. I couldn't verify this effect this evening :-(
if use / as the seperator like dokumented at the wiki it doesn't work.
Why? Probably a client problem.
Now it works... don't ask me why :-(
Well, Dovecot doesn't currently really support these kind of shared mailboxes, but you might be able to kludge it:
With ACL plugin you can create dovecot-acls file to the maildirs that you want to share to others. http://wiki.dovecot.org/ACL
I will see it. I hope this kind of ACLs work with virtual users. For my kind of LDAP stored ACLs i can use a python script to generate the files.
Mfg. Stefan Klatt
Timo Sirainen wrote:
On Wed, 2007-01-10 at 00:09 +0100, Stefan Klatt wrote:
namespace private { seperator = . prefix = location = maildir:/srv/imapd/user/%u/maildir inbox = yes }
namespace public { seperator = . prefix = Public. location =
maildir:/imapd/shared/public/maildir:CONTROL=/imapd/user/%u/shared-settings/public/control:INDEX=/imapd/user/%u/shared-settings/public/index hidden = no }Looks ok.
that should be "sepArator" i think. certainly in my config & english!
hth, scorch
Hello Scorched,
namespace private { seperator = . prefix = location = maildir:/srv/imapd/user/%u/maildir inbox = yes }
namespace public { seperator = . prefix = Public. location =
maildir:/imapd/shared/public/maildir:CONTROL=/imapd/user/%u/shared-settings/public/control:INDEX=/imapd/user/%u/shared-settings/public/indexhidden = no }
Looks ok.
that should be "sepArator" i think. certainly in my config & english! Now i had time to check my configuration. There it's written with a !
Mfg. Stefan Klatt
participants (3)
-
Scorched
-
Stefan Klatt
-
Timo Sirainen