On Sun, Jan 21, 2018 at 11:27:16PM +0100, Pétùr wrote:

> Description of the problem:
> 
> 1. I open in mutt a new (unread) email.

Marked read in memory.

> 2. While this email is open, I delete it (with "d").

Marked deleted in memory.

> 3. When I reopen mutt (or press "$") I have one new unread email in trash.

For the "reopen" case it depends how mutt was closed (gently or
bruttaly).

"$" is not to refresh but to sync on disk. It's the opposite. In this
case, the email marked deleted is removed from the local maildir on
disk.

> P-S : I suppose it is not a specific offlineimap problem but I guess
> here is a good place to find a solution. I didn't have this problem
> before using offlineimap (I suppose remote IMAP server handle
> differently the mark as read action).

Perhaps, mutt does not sync in memory operations the same way when in
IMAP mode.

Here, mutt sync changes on disk when pressing "$" or when opening
another folder.

-- 
Nicolas Sebrecht

_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to