I think the problem is when I move a message between mailboxes (or
folders) there would need to be some way to update the \Seen flag inside
every user's private index of that new mailbox where message has been
moved into.
I was thinking about it more and realized I'm more concerned about
making sure new mail in the inbox isn't missed. Once it's moved out of
the inbox by someone we can consider it "done" and it can be marked
read
for everyone.
I've been able to get this working with two namespaces.
namespace shared-inbox {
? prefix = "inbox."
? location =
maildir:/home/vmail/%d/Maildir-Inbox:INDEXPVT=/home/vmail/%u/Inbox-indexpvt
? inbox = yes
}
namespace shared-mailboxes {
? location = maildir:/home/vmail/%d/Maildir
}
I would appreciate any feedback in case there's a better way to do this
or if this is likely to cause any problems.
Thank you.
On 15/12/2021 12:05 am, Cube . wrote:> Hello,
>
> I have a shared mailbox set up with a private index:
> maildir:/var/mail/public:INDEXPVT=~/Maildir/public
>
> Per user \Seen flags are working fine until one user moves a message into
another folder/sub-mailbox. For that user doing the move the message remains
\Seen however for other users who have already seen the message the flag is lost
and it appears unread in the new location. If the message is moved back it still
appears unread to the other user even if had been read in that
folder/sub-mailbox in the past.
>
> Is there anyway to retain per user \Seen that follows the message when its
moved?
>
> Thank you.
> ?