1

Topic: How create public & shared folder with dovecot

Hi,

I've installed iRedMail at one of my servers. Everything works great but ..
In the documentation of Dovecot described Shared Mailboxes but it functioned not.
i can´t use public & shared folder with dovecot.

For example

namespace public {
  separator = /
  prefix = Public/
  location = maildir:/var/vmail/public
  subscriptions = no
}

Thanks

Scholz

2

Re: How create public & shared folder with dovecot

Works for me here with doc: http://wiki.dovecot.org/SharedMailboxes … _Mailboxes

If you use Roundcube webmail, don't forget to subscribe this folder in 'Settings -> Folders'.

# When creating any namespaces, you must also have a private namespace:
namespace private {
  separator = /
  prefix =
  #location defaults to mail_location.
  inbox = yes
}

namespace public {
  separator = /
  prefix = Public/
  location = maildir:/var/mail/public
  subscriptions = no  # v1.1+
}

3 (edited by olegderid 2011-02-13 23:40:03)

Re: How create public & shared folder with dovecot

ZhangHuangbin wrote:

Works for me here with doc: http://wiki.dovecot.org/SharedMailboxes … _Mailboxes

If you use Roundcube webmail, don't forget to subscribe this folder in 'Settings -> Folders'.

# When creating any namespaces, you must also have a private namespace:
namespace private {
  separator = /
  prefix =
  #location defaults to mail_location.
  inbox = yes
}

namespace public {
  separator = /
  prefix = Public/
  location = maildir:/var/mail/public
  subscriptions = no  # v1.1+
}

Thanks for your solution, could you, please, specify how the " location" parameter value changes in case we need a per user seen flag?

I believe the "location = maildir:/var/mail/public:INDEX=~/Maildir/public" is not a solution cause iredmail implements virtual users, so we need to use something like: "location = maildir:/var/mail/public:INDEX=%Lh/Maildir/Public/%%Lu". Could you, please, confirm the last statement?

4

Re: How create public & shared folder with dovecot

Did you try this wiki tutorial:
http://www.iredmail.org/wiki/index.php? … MAP.Folder

5

Re: How create public & shared folder with dovecot

olegderid, you might also want to read my tutorial, I wrote it 6 months before BigMichi1's, and it might not be just as complete, but it worked for me since then...:

http://www.iredmail.org/wiki/index.php? … ovecot_1.2

@Zhang: you might want to merge the 2 tutorials, and give proper credits. Thank you.