Skip to content

Shared mailbox Seen flag not migrated #7428

@DavidePrincipi

Description

@DavidePrincipi

Mail private Seen IMAP flags are not migrated for shared mailboxes.

Steps to reproduce

  • In NS7 configure Email with users first.user and second.user
  • Configure Email with Shared Seen disabled (see https://docs.nethserver.org/en/v7/mail.html#shared-seen-configuration)
  • second.user shares a mailbox myseconds with first.user. Put some messages into myseconds
  • first.users marks some messages Shared/myseconds as Seen (Read)
  • Migrate Email to NS8

Expected behavior

After migration, messages of Shared/myseconds are marked Seen/Unseen as before.

Actual behavior

All messages are marked Unseen (New).

Workaround is:

cp -vp first.user/Maildir/shared/second.user\@example.org/.INBOX/dovecot.index.pvt first.user/Maildir/shared/second.user/.INBOX/dovecot.index.pvt

In /var/log/messages:

Apr 24 17:45:46 cluster agent@mail1[17337]: 'first.user/Maildir/shared/second.user@example.org' -> '{shared_entry%%@example.org}/second.user@example.org'

Components

  • Mail 1.6.2

See also


Thanks to @lucagasparini

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    No fields configured for Bug.

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions