Dear fellow nerds,
I recently started to use aerc, synched locally with mbsync. Unfortunately, I’m facing a rather annoying problem with Gmail:
- I read emails (flag “seen”) and move them to the archive;
- run the mbsync < account > command to sync;
- the mails are correctly moved, however, they seem to lose the “seen” flag, and they revert to unread.
Am I missing something? Any idea what could be the problem? If it matters, I’m on a Wayland session on NixOS.
Thanks!
You must log in or # to comment.
The “seen” flag should be represented by an “S” in the filename of the mail (see Maildir spec).
You could probably observe filename changes using:
fsnotifywait -m $YOUR_MAILDIR -r -e move -e create -e delete
While that is running in your terminal, move a mail using aerc, and see if aerc correctly preserves the “S” flag in the filename.
Thank you very much the info! I was looking for something like this, but eventually I failed 😆
I’ll try as soon as I can and get back with the result!