How OfflineIMAP works

Created on 2021-12-28T10:10:32-06:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

Tombstone: a permanent marker that the ID once existed but has since been deleted.

Index: a set of items being managed with some unique ID

Difference: the set difference of items in one index and another

Instead of a tombstone a second "status" index is kept.

IDs are downloaded from remotes and copied to the status and local indices.

Deletions are checked against status to see if remote has modified the record since the delete; since the download would copy to status and local then anything in status but not local has been deleted.

Essentially tombstones are traded for a double-index.

But the double index will eventually forget about deleted content.

Algorithm

Synchronization

Full synchronization