[Dovecot] Multiple domains with shared Folder - how to?
Hello,
I set up Dovecot so that I now have about 20 domains on my mailserver. So far everything works fine. Now I have the need to set up shared maildirs, but they shall only be shared for the users of just one domain. What do I have to do?
Thanks in advance for any hint!
Volker
Volker Siebelink wrote:
Hello,
I set up Dovecot so that I now have about 20 domains on my mailserver. So far everything works fine. Now I have the need to set up shared maildirs, but they shall only be shared for the users of just one domain. What do I have to do?
Thanks in advance for any hint!
Volker Depends on your configuration (virtual/real users, mailbox format, etc.) If you use virtual users and share one uid for all virtual users things are easy. Use symlinks. If uid is not one for all users, you'll need to have a dovecot-shared file in each shared maildir. read http://wiki.dovecot.org/SharedMailboxes
Uldis
I now tried using symlinks. Works fine, BUT:
"Note that if a user creates for example "Team News.Child mailbox" it gets created into the user's own Maildir, not into /home/public/Maildir/."
Our users are allowed to create subfolders in the shares (currently we use Cyrus). Can this be done with Docecot too?
Volker
Uldis Pakuls schrieb:
Hello,
I set up Dovecot so that I now have about 20 domains on my mailserver. So far everything works fine. Now I have the need to set up shared maildirs, but they shall only be shared for the users of just one domain. What do I have to do?
Thanks in advance for any hint!
Volker Depends on your configuration (virtual/real users, mailbox format, etc.) If you use virtual users and share one uid for all virtual users
Volker Siebelink wrote: things are easy. Use symlinks. If uid is not one for all users, you'll need to have a dovecot-shared file in each shared maildir. read http://wiki.dovecot.org/SharedMailboxes
Uldis
Volker Siebelink wrote:
I now tried using symlinks. Works fine, BUT:
"Note that if a user creates for example "Team News.Child mailbox" it gets created into the user's own Maildir, not into /home/public/Maildir/."
Our users are allowed to create subfolders in the shares (currently we use Cyrus). Can this be done with Docecot too?
In this case you must use namespaces and ACL's.
Volker
Uldis
participants (2)
-
Uldis Pakuls
-
Volker Siebelink