Mailpile icon indicating copy to clipboard operation
Mailpile copied to clipboard

Make IMAP (and maybe other mail sources) stop polling gone mailboxes

Open BjarniRunar opened this issue 6 years ago • 4 comments

Mailpile should automatically stop trying to re-check a mailbox/folder which has been deleted from the source/server.

This should be done in such a way that if the mailbox reappears, polling starts again. This should be relatively straightforward, mostly we need to make sure that each individual mailbox type communicates clearly that it's "gone" (not just temporarily unavailable) and the master mail source polling logic should watch for that state and reconfigure itself accordingly.

The mailbox discovery logic also needs to recognize that if a mailbox we've seen before, but is in the "gone" state has reappeared, reconfiguring is also justified. Care needs to be taken that if a user manually disables a mailbox, that the discovery logic doesn't re-enable it.

BjarniRunar avatar Jul 21 '19 10:07 BjarniRunar

Can I work on this?

RenatoViana01 avatar Sep 11 '19 13:09 RenatoViana01

@RenatoViana01 If you're still interested, of course! I recommend finding me on IRC (#mailpile, Freenode) so we can chat about this, there are some subtleties in how all this stuff fits together and our dev docs are not detailed enough to cover them.

BjarniRunar avatar Oct 25 '19 09:10 BjarniRunar

How can I make that imap server?

ghost avatar Apr 01 '20 13:04 ghost

Hi @BjarniRunar , I want to work on this I hope that is ok.

linkinbarbie avatar Aug 22 '20 13:08 linkinbarbie