7 Apr
2022
7 Apr
'22
12:16 a.m.
On 04/06/2022 1:29 PM Marc marc@f1-outsourcing.eu wrote:
I was wondering if there is some way to force an imap client to 're-download' all the messages from the inbox. I can remember in the 'old days' that when the connection was dropped during a pop download, the whole inbox was re-downloaded, resulting in quite a lot of duplicates. I am looking for such action.
You can change the UIDVALIDITY of the mailbox. This invalidates the client cache which would cause a (well-behaving) client to rebuild that mailbox from current server state.
https://datatracker.ietf.org/doc/html/rfc3501#section-2.3.1.1
michael