Hi everyone,
These two IMAP search commands return different values:
a SEARCH UNSEEN
- SEARCH 38 61 62 63 65 69 74 75 76 82 86 87 102 120 121 141 142 143 144 145 146 158 159 160
a SEARCH UNKEYWORD \Seen
- SEARCH [All email IDs in the mailbox]
a SEARCH KEYWORD \Seen
- SEARCH [Empty]
According to RFC 3501 <https://datatracker.ietf.org/doc/html/rfc3501#section-6.4.4>, in my interpretation, these two should be equal:
UNSEEN Messages that do not have the \Seen flag set.
Can you tell me what is causing this difference? I also ran force-resync on all my mails, just to be sure.
Ákos
Hi everyone,
These two IMAP search commands return different values:
a SEARCH UNSEEN
- SEARCH 38 61 62 63 65 69 74 75 76 82 86 87 102 120 121 141 142 143 144 145 146 158 159 160
a SEARCH UNKEYWORD \Seen
- SEARCH [All email IDs in the mailbox]
a SEARCH KEYWORD \Seen
- SEARCH [Empty]
According to [1]RFC 3501, in my interpretation, these two should be equal:
UNSEEN Messages that do not have the \Seen flag set.
Can you tell me what is causing this difference? I also ran force-resync on all my mails, just to be sure.
Akos
References
Visible links