Can master users retain private \Seen flags ?

Aki Tuomi aki.tuomi at open-xchange.com
Tue Mar 2 11:58:16 EET 2021


I don't see why it's so difficult or unwanted solution to create a mailbox shared and then access that as a shared folder from bob's and alice's account?

Is it because you found this handy guide and now you cannot see any other solution anymore?

You would not even need the complicated way of logging in if you'd use shared folders instead. Users could log in the normal way and look into Shared/sales folder.

Aki

> On 02/03/2021 11:52 tuuialou <tuuialou at protonmail.com> wrote:
> 
>  
> Hello Aki,
> 
> I am still a bit lost as I don't understand why someone would bother implementing this solution https://forum.iredmail.org/topic13549-proposal-for-a-exchange-like-shared-mailbox-aka-login-as.html without private \Seen flags (it would be much simpler to configure the IMAP account of sales at example.com on Alice and Bob computer).
> 
> Also, I am surprised this popular MS Exchange setup https://www.en.its.aau.dk/instructions/Mail/shared-mailbox-thunderbird/ (login as another user and retain private \Seen flags) can't be implemented in Dovecot.
> 
> Anyway, I will stick with shared mailboxes then...
> 
> 
> 
> 
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Tuesday, March 2, 2021 7:25 AM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> 
> > Nope. The master user feature allows you to impersonate a mail user. It does not act as a separate user. The only way to preserve \Seen flag is to use a shared mailbox.
> >
> > Aki
> >
> > > On 01/03/2021 14:39 tuuialou tuuialou at protonmail.com wrote:
> > > Hello and thank you for your answer.
> > > I know https://wiki.dovecot.org/SharedMailboxes/Shared and I successfully implemented it but I am not 100% happy for the 3x reasons described in my original message.
> > > I understand the "exchange-like" solution described at https://forum.iredmail.org/topic13549-proposal-for-a-exchange-like-shared-mailbox-aka-login-as.html leverages the master user feature of Dovecot to reach my goal (retain private \Seen flag without using the Shared mailbox feature). Or am I missing something??
> > > Basically, my question is:
> > > Is it possible to retain private \Seen flags between sales at example.comalice@example.com and sales at example.combob@example.com?
> > > Thanks again for your help!
> > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > > On Monday, March 1, 2021 10:46 AM, Aki Tuomi aki.tuomi at open-xchange.com wrote:
> > >
> > > > > On 01/03/2021 10:55 tuuialou tuuialou at protonmail.com wrote:
> > > > > Hello,
> > > > > I am trying to setup a shared mailbox for a small team. Let's say Alice and Bob both need to read and answer sales at example.com. I would like Alice and Bob to retain private \Seen flags on sales at example.com. I know I can achieve that with INDEXPVT on shared or public mailboxes but I am not 100% happy with this solution because:
> > > > >
> > > > > -   Thunderbird displays sales at example.com/Inbox and sales at example.com/Sent as "subscribed folders" within alice at example.com and bob at example.com. So Alice and Bob can't use the unified view of Thunderbird.
> > > > > -   I need create a special identity in Alice and Bob Thunderbird's configuration so the sender is sales at example.com when Alice or Bob sends an email from sales at example.com (and not alice at example.com or bob at example.com). But I am not sure another email client is able to do that (on a mobile phone for example).
> > > > > -   I need to add ACL rights if a new folder is created under sales at example.com.
> > > > >     So I am now looking at the "master users" feature of Dovecot to replicate this MS Exchange setup https://www.en.its.aau.dk/instructions/Mail/shared-mailbox-thunderbird/ (alice at example.com and bob at example.com log is as sales at example.com). I achieved that but I don't know how to retain private \Seen flags so that Bob doesn't see an email as read even if Alice has marked it as read before.
> > > > >     Is it possible to retain private \Seen flags with master users? If yes, how can I achieve that?
> > > > >     Thank you for any help!
> > > > >     PS: I posted the same question on https://forum.iredmail.org/post77816.html and https://forum.iredmail.org/topic13549-proposal-for-a-exchange-like-shared-mailbox-aka-login-as.html but I couldn't get help and was advised to ask here.
> > > > >
> > > >
> > > > Better idea would be to share the folder to Bob & Alice so that they have private indexes. This way they both have their own set of Seen flags.
> > > > https://wiki.dovecot.org/SharedMailboxes/Shared
> > > > Aki


More information about the dovecot mailing list