Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMake IMAP (and maybe other mail sources) stop polling gone mailboxes #2229
Labels
Comments
|
Can I work on this? |
|
@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. |
|
How can I make that imap server? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


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.