[Users] How claws mail treats and deals with new and unread messages?

Michael Rasmussen mir at miras.org
Wed Dec 22 22:05:27 CET 2021


On Wed, 22 Dec 2021 17:14:01 -0300
Dedeco Balaco via Users <users at lists.claws-mail.org> wrote:

> 
> And the discussion here is about what CM does with new and unread
> messages. The way it seems to deal with them, right now, seems to be
> confuse, strange and not useful, to me.
> 
According to IMAP rfc
(https://datatracker.ietf.org/doc/html/rfc9051#section-6.3.2)

a message can have 2 status flags - RECENT (new), UNSEEN (not read). A
message with either of these flags is to be considered SEEN (read).
Google does not support the RECENT flag and therefore merges RECENT and
UNSEEN to 1 state labeled 'New'. On the other hand Claws-Mail honours
the IMAP rfc in which case it distinguishes between UNSEEN and RECENT
so that a message have the correct 3 states - New, Unseen, and Read.

What distinguishes a New from an Unseen message is that an UNSEEN
message is one that was RECENT before the current state request (eg.
you have requested a list of new messages at last login but for some
reason you have not read some or all of the new messages at last login)
in which case the previous RECENT messages are no longer RECENT but
UNSEEN. RECENT messages is always messages fetched at current login
which is not presently in your local mail cache.


-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E
mir <at> datanom <dot> net
https://pgp.key-server.io/pks/lookup?search=0xE501F51C
mir <at> miras <dot> org
https://pgp.key-server.io/pks/lookup?search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
To do two things at once is to do neither.
		-- Publilius Syrus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20211222/46d4c92c/attachment.sig>


More information about the Users mailing list