no no.. Let's take an example and suppose that you have 2 sellers.. They have their own email accounts ( seller1 and seller2)   and you have a generic mailbox  like info@foo.com  for enquiries.. into a third mailbox ( maybe)

The advantage to get a "share or public" mailbox ( well as I could imagine); an enquiry is arriving. Both sellers car read the email. If seller1 decide to look after it, he just need to drag and drop the email to his own emails... Seller2 knows that no other action to take..and the email has just gone from the Shared inbox... just to avoid to leave an non responded email

Ask people to connect to differents mailboxes.. and they find this boring :-)
One account per person... All the info they need


-------- Forwarded Message --------
Subject: Re: Shared / Public mailbox
Date: Sat, 15 Apr 2023 08:37:10 -0700
From: Michael Peddemors <michael@linuxmagic.com>
Organization: LinuxMagic Inc.
To: dovecot@dovecot.org


Curious, what is the use case that you simply can't create three users, and share the password on on of the email accounts?

They can simply set up their email clients to check both mailboxes, why would this not work, and what is the use case that requires customizing your MTA?


On 2023-04-15 04:22, Stephane MAGNIER wrote:
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| <https://doc.dovecot.org/settings/plugin/acl-plugin/#plugin_setting-acl-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 ?


_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org


-- 
"Catch the Magic of Linux..."
------------------------------------------------------------------------
Michael Peddemors, President/CEO LinuxMagic Inc.
Visit us at http://www.linuxmagic.com @linuxmagic
A Wizard IT Company - For More Info http://www.wizard.ca
"LinuxMagic" a Registered TradeMark of Wizard Tower TechnoServices Ltd.
------------------------------------------------------------------------
604-682-0300 Beautiful British Columbia, Canada

This email and any electronic data contained are confidential and intended
solely for the use of the individual or entity to which they are addressed.
Please note that any views or opinions presented in this email are solely
those of the author and are not intended to represent those of the company.

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org