Discussion:
[MlMt] unexpected inbox zero
Andrey Ustyuzhanin
2018-11-05 09:25:13 UTC
Permalink
Hi all,

I have a strange behaviour of mailmate (r5552). At some point today the
inbox start showing 0 messages, and believe me, it is not due my
zero-inbox skills. If I login to gmail or another accounts via web, I
see inbox messages there. Extremely confusing.. Mailbox restart
doesn’t help. Any quick ideas?

--
Kindest Regards,
Andrey Ustyuzhanin
Andrey Ustyuzhanin
2018-11-05 09:44:07 UTC
Permalink
an update - all the mail is there, but indeed it is just
‘archived’… so two questions:
- is there any way to pull it back to inbox systematically?
- is it possible to understand the reason for such a glitch and avoid it
in the future?


--
Kindest Regards,
Andrey Ustyuzhanin
Post by Andrey Ustyuzhanin
Hi all,
I have a strange behaviour of mailmate (r5552). At some point today
the inbox start showing 0 messages, and believe me, it is not due my
zero-inbox skills. If I login to gmail or another accounts via web, I
see inbox messages there. Extremely confusing.. Mailbox restart
doesn’t help. Any quick ideas?
--
Kindest Regards,
Andrey Ustyuzhanin
Bill Cole
2018-11-05 15:11:59 UTC
Permalink
Post by Andrey Ustyuzhanin
an update - all the mail is there, but indeed it is just
- is there any way to pull it back to inbox systematically?
Open the "Archive" mailbox for the account, select all messages (or
whatever subset you want to pull back,) use "Message->Move To Mailbox"
or just drag+drop into INBOX for that account. For GMail, this is
complicated by the fact that it has the "Archive" concept implemented in
a completely unique way: "All Mail" is the de facto archive but it also
contains everything else except spam and trash, if viewed in the web
interface. In MailMate, you need to subscribe to "[GMail]/All Mail"
where you will see only the messages that are not in any other IMAP
mailbox, making it usable as the "Archive" mailbox for MailMate.
Post by Andrey Ustyuzhanin
- is it possible to understand the reason for such a glitch and avoid
it in the future?
If you don't know what caused this, no one else has any hope of guessing
a specific cause. However, there are basically 3 broad classes of
possible explanation:

1. Sabotage
Someone else has obtained access to your mail account(s) and
intentionally or accidentally archived all of your mail. This is the
LEAST likely explanation for most people, because nearly all 'hacked'
email accounts are simply totally stolen outright (i.e. password
changed) or used very surreptitiously (e.g. used solely for
authenticating spam relay.)

2. Robotic Misadventure
If you have rules configured in MailMate or elsewhere (e.g. GMail)
or other forms of automated manipulation of your email that under some
circumstances will "Archive" your email, there could be a logical error
in how that mechanism operates that made it archive all of your mail.
Review your rules for conditions that accidentally match all messages.

3. Human Error
Yes, it happens. It is unlikely that you accidentally used the
default key equivalent (cmd-shift-M) for "Archive" on all of your
messages, but if you have custom key bindings configured, you may have a
much more likely accident. There is also the potential for
software-enabled 'human error' in that some mail clients use the
"Archive" mailbox in unexpected ways (e.g. as an alternative to "Trash")
and some (like the GMail web interface) make it the easiest thing to do
(intentionally or accidentally) right after you've selected some (or
all) messages.
Benny Kjær Nielsen
2018-11-05 15:14:58 UTC
Permalink
Post by Andrey Ustyuzhanin
Post by Andrey Ustyuzhanin
I have a strange behaviour of mailmate (r5552). At some point today
the inbox start showing 0 messages, and believe me, it is not due my
zero-inbox skills. If I login to gmail or another accounts via web, I
see inbox messages there. Extremely confusing.. Mailbox restart
doesn’t help. Any quick ideas?
an update - all the mail is there, but indeed it is just
- is there any way to pull it back to inbox systematically?
IMAP does not keep information about the previous location of emails.
*If* MailMate was responsible for moving them then it actually does
remember it locally, but this is not easily utilized for moving them
back (but that is something I could look into). If the previous location
was Inbox for all of them then it doesn't matter much.

Hmm, it does give me an idea on how MailMate could make the
“history” of moving messages available to the user, but that won't
help you right now.
Post by Andrey Ustyuzhanin
- is it possible to understand the reason for such a glitch and avoid
it in the future?
To learn more then I'll need to know that you can either reproduce the
issue or that it happens so often that it makes sense to make debug code
for it. Right now I don't have reports about any similar issues, but
given the recent update of MailMate that might change soon.

I see that Bill also posted some ideas for what might have happened.
--
Benny
https://freron.com/become_a_mailmate_patron/
Andrey Ustyuzhanin
2018-11-05 15:39:14 UTC
Permalink
I guess I’ve figured out the problem, it actually repeated:

I have the following key binding:

"y" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and
#source.path = 'INBOX'", "archive:");

and during a day I’ve seen this a few times - when I want to archive a
thread, and press ‘y’ it archives whole inbox. I’ve undone this
move, but it was repeatable!
When I switched from/to MailMate, the behaviour reverted to normal. Very
puzzling

what is the way to switch back to the previous version?

--
Kindest Regards,
Andrey Ustyuzhanin
Post by Benny Kjær Nielsen
Post by Andrey Ustyuzhanin
Post by Andrey Ustyuzhanin
I have a strange behaviour of mailmate (r5552). At some point today
the inbox start showing 0 messages, and believe me, it is not due my
zero-inbox skills. If I login to gmail or another accounts via web,
I see inbox messages there. Extremely confusing.. Mailbox restart
doesn’t help. Any quick ideas?
an update - all the mail is there, but indeed it is just
- is there any way to pull it back to inbox systematically?
IMAP does not keep information about the previous location of emails.
*If* MailMate was responsible for moving them then it actually does
remember it locally, but this is not easily utilized for moving them
back (but that is something I could look into). If the previous
location was Inbox for all of them then it doesn't matter much.
Hmm, it does give me an idea on how MailMate could make the
“history” of moving messages available to the user, but that won't
help you right now.
Post by Andrey Ustyuzhanin
- is it possible to understand the reason for such a glitch and avoid
it in the future?
To learn more then I'll need to know that you can either reproduce the
issue or that it happens so often that it makes sense to make debug
code for it. Right now I don't have reports about any similar issues,
but given the recent update of MailMate that might change soon.
I see that Bill also posted some ideas for what might have happened.
--
Benny
https://freron.com/become_a_mailmate_patron/
_______________________________________________
mailmate mailing list
https://lists.freron.com/listinfo/mailmate
Benny Kjær Nielsen
2018-11-16 13:51:15 UTC
Permalink
Post by Andrey Ustyuzhanin
"y" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and
#source.path = 'INBOX'", "archive:");
and during a day I’ve seen this a few times - when I want to archive
a thread, and press ‘y’ it archives whole inbox. I’ve undone
this move, but it was repeatable!
When I switched from/to MailMate, the behaviour reverted to normal.
Very puzzling

I can see that it could go wrong if nothing was selected in the mailbox,
but I'm not sure what else could trigger it.
Post by Andrey Ustyuzhanin
what is the way to switch back to the previous version?
You can use the [release
notes](https://updates.mailmate-app.com/release_notes) and the
[archive](https://updates.mailmate-app.com/archives/) of older releases.

I've fixed `selectWithFilter:` in the next update such that having
nothing selected or more than 1 message selected should behave as
expected. I'm not sure it fixes your issue though.
--
Benny
https://freron.com/become_a_mailmate_patron/
Andrey Ustyuzhanin
2018-11-17 08:26:36 UTC
Permalink
Hi Benny,

Thanks for the heads-up. Indeed the glitch repeats if I select several
messages or none. So far I’m adapted to it. Looking forward for the
next release.

--
Kindest Regards,
Andrey Ustyuzhanin
Post by Benny Kjær Nielsen
Post by Andrey Ustyuzhanin
"y" = ( "selectWithFilter:", "#thread-id = ${#thread-id} and
#source.path = 'INBOX'", "archive:");
and during a day I’ve seen this a few times - when I want to
archive a thread, and press ‘y’ it archives whole inbox. I’ve
undone this move, but it was repeatable!
When I switched from/to MailMate, the behaviour reverted to normal.
Very puzzling

I can see that it could go wrong if nothing was selected in the
mailbox, but I'm not sure what else could trigger it.
Post by Andrey Ustyuzhanin
what is the way to switch back to the previous version?
You can use the [release
notes](https://updates.mailmate-app.com/release_notes) and the
[archive](https://updates.mailmate-app.com/archives/) of older
releases.
I've fixed `selectWithFilter:` in the next update such that having
nothing selected or more than 1 message selected should behave as
expected. I'm not sure it fixes your issue though.
--
Benny
https://freron.com/become_a_mailmate_patron/
_______________________________________________
mailmate mailing list
https://lists.freron.com/listinfo/mailmate
Benny Kjær Nielsen
2018-11-18 10:40:35 UTC
Permalink
Post by Andrey Ustyuzhanin
Thanks for the heads-up. Indeed the glitch repeats if I select several
messages or none. So far I’m adapted to it. Looking forward for the
next release.
It's in the latest test release: Hold down ⌥ when clicking “Check
Now” in the Software Update preferences pane.
--
Benny
https://freron.com/become_a_mailmate_patron/
Andrey Ustyuzhanin
2018-11-18 13:06:10 UTC
Permalink
Thanks a ton!
Post by Andrey Ustyuzhanin
Thanks for the heads-up. Indeed the glitch repeats if I select several
messages or none. So far I’m adapted to it. Looking forward for the
next release.
It's in the latest test release: Hold down ⌥ when clicking “Check
Now” in the Software Update preferences pane.
--
Benny
https://freron.com/become_a_mailmate_patron/
_______________________________________________
mailmate mailing list
https://lists.freron.com/listinfo/mailmate
--
Thanks a million!
A.
Loading...