Hi

I wish to create a share mailbox ( well.. Apparently, this is a public mailbox). Let's say I have 2 users : user1 & user2 and the need to share a mailbox for "general inquiries" emails..

Despite of the 2 users' account creation ( user1 & user2) , should I create a third email account ( info1)  for general inquiries for instance and instruct Dovecot that this mail box has to be shared ?

In that case, logically, I have to declare into: "15-Mailboxes.conf"

namespace {
    type = public
    separator = /
    prefix = Public/
    location = maildir:/var/spool2/mail/info1/:CONTROL=/var/spool2/mail/Maildir/info1:INDEX=/var/spool2/mail/info1
    # Allow users to subscribe to the public folders.
    subscriptions = yes
}

and add a file : /etc/dovecot/dovecot-acl

/var/spool2/mail/info1/ user=user1,user2 lrwstipekxa
/var/spool2/mail/info1/* user=user1,user2 lrwstipekxa


and add the plugin :

plugin {

acl = vfile

}


Is that the way to do it ?


2) Now what is the difference between a shared and Public mailbox ?

I can see that the plugin is slightly different :
acl_shared_dict


For me a "public"email folder is for sharing emails.. My understanding is: general email account can be shared ( like info1 in my example).. this is called a public mailbox.( specific email account, shared between users). So what is called a "Shared mailbox" ?????


Thanks for your help ?