[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] A maildir root source: syncing labels with maildirs (imap folders)



Excerpts from Gaute Hope's message of 2013-11-27 22:10:38 +0100:
> Excerpts from Matthieu Rakotojaona's message of 2013-11-27 19:32:02 +0100:
> > Excerpts from Gaute Hope's message of 2013-11-27 14:08:36 +0100:
[..]

> It also
> currently does not check new messages (since non-gmail sources will not
> have a copy in archive), we should do a check upon :add in
> poll.rb#do_poll to the source that checks if existing_sources has
> @archive, if not add and return to poll with updated locations (no
> sync_back needed and no index sync needed as poll will do that
> afterwards).

As of commit db5e75f we check in poll if the message is in archive,
otherwise add (archive is the first subdir to be polled so it should
always be present).

Another issue is messages that get labels added automatically, these are
not synced back before the message is opened or somehow otherwise
activated. Could possibly do a full sync_back after :add, :delete or
:update in poll.

- gaute

Attachment: signature.asc
Description: PGP signature