Mailmate never stops checking an account
Reported by Vincent Noel | December 30th, 2011 @ 12:52 PM
Mailmate keeps checking my work account, so it always uses a
significant amount of CPU.
The spinner is always visible in the sources list.
The activity viewer cycles through similar actions all the
time.
I have attached a bit of the activity log for reference.
Comments and changes to this ticket
-
Vincent Noel December 30th, 2011 @ 12:58 PM
For info, I had previously tried to import a "2009" and a "2010" folders from my Apple Mail library folder into the LMD->Archive folder. Both imports went fine according to MailMate, but afterwards I could not find the imported mails anywhere in the LMD->Archive folder.
-
benny December 30th, 2011 @ 03:20 PM
- Assigned user set to benny
There appears to be two (maybe three) problems. The worst is that MailMate fails to stop retrying. I'll look into that.
Here is the relevant part of the log:
Selecting mailbox: Archive/2010/AD9245F6-0282-4998-98CF-2DCA479F9F50/Data/1/1/Messages C: I3 LIST "Archive" "" S: * LIST (\Noselect) "." "" S: I3 OK List completed. C: I4 SELECT "Archive.2010.AD9245F6-0282-4998-98CF-2DCA479F9F50.Data.1.1.Messages" S: I4 NO Mailbox doesn't exist: Archive.2010.AD9245F6-0282-4998-98CF-2DCA479F9F50.Data.1.1.Messages
It is probably just failing because the mailbox really does not exist, but the server does not tell MailMate that it is ok to create it (then there would be an additional
[TRYCREATE]
). Apparently MailMate does not handle that well.An unrelated issue is the name of the mailbox which appears to be from the importing of messages. I believe the messages imported are in the Lion Mail style folder hierarchy. I guess MailMate could/should be better at detecting this and automatically leave out the
AD9245F6-0282-4998-98CF-2DCA479F9F50/Data/1/1/Messages
part.I can try making a test version which tries to create a mailbox even if there is no
[TRYCREATE]
, but that won't work if it is missing because the server really cannot create the mailbox.For now, you should take the mailbox offline.
-
Vincent Noel December 30th, 2011 @ 07:28 PM
Thanks for the reply, very informative.
Indeed the weird folder names come from the Apple Mail 5.1 hierarchy. I didn't understand I had to drill down even further when importing the files. In fact, when I tried to import my mailboxes in the LMD->Archive folder, I had not expected that MailMate would try to reproduce the folder hierarchy in the IMAP hierarchy. I expected the hierarchy below the imported folder would get flattened out and all the emails imported in the LMD->Archive folder. In that scenario there would be no need for mailbox creation if I'm not mistaken. That could be a potential fallback approach when the server cannot create mailboxes (as in my case).
Another point is that I didn't get any kind of error message when importing my messages, MailMate actually told me that the import went fine.
I have tried taking the LMD->Archive mailbox offline but that has not stopped the cycle. Taking the entire LMD source offline did work, but MailMate is not very useful in that configuration :-)
Thanks a lot for the help.
-
benny December 30th, 2011 @ 08:58 PM
Importing did not fail, because the import did not fail. It is the uploading of messages to the server that failed which happens after importing.
The mailbox you need to take offline is
AD9245F6-0282-4998-98CF-2DCA479F9F50/Data/1/1/Messages
. You could also drag'n'drop the messages into your Archive mailbox. That may also solve the problem.And yes, it would be nice if MailMate automatically flattened the hierarchy. I believe it works under Snow Leopard, but Apple Mail has changed the hierarchy in Lion. In general, it would be nice if MailMate optionally allowed the user to put all messages found into the destination mailbox. I'll make a note of that.
-
Vincent Noel December 30th, 2011 @ 09:36 PM
Mmh, I can't take the mailbox you describe offline because I don't see it anywhere. It's not in the sidebar, not in the subscription dialog. In fact, the LMD->Archive folder has no subfolders at all that I can see.
I understand your point about the difference between importing and uploading, but it might be a point of semantics. From my user's point of view, if I can't access my messages and/or see them anywhere, the importing did fail.
-
benny December 30th, 2011 @ 11:08 PM
- State changed from new to reproduced
Ah, now I understand. It must be a bug that the mailbox is not displayed. The intention is that the mailbox should be displayed after importing with all its messages. And then they are uploaded quietly in the background. Apparently never noticed, because the mailbox creation usually does not fail and it happens as the first thing when uploading the messages.
Seems there are quite a few issues covered by this ticket now. Thanks for the details. It'll probably be a few days before I can provide an update. The only solution I can think of right now is to rebuild the database which would then implicitly cancel the update. You can see how to do that here.
-
Vincent Noel January 1st, 2012 @ 04:41 PM
I rebuilt the database following your advice and it worked, ie MailMate has stopped checking the same mailbox all the time.
I will wait for the updated version before retrying to import my old mailboxes. Thanks! -
benny January 4th, 2012 @ 10:32 AM
- State changed from reproduced to fixcommitted
Next version of MailMate should:
- Import Apple Mail (Lion) mailboxes more nicely. In your example above, only mailboxes named 2010 and 2011 would have been created as children of Archived.
- Make creation of mailboxes optional in the import interface offering you to import all messages found into Archive.
- Show all IMAP mailboxes immediately after importing (and before any messages are uploaded).
- I think the last one implicitly fixes the problem with the persistent spinner/activity.
Write me an email and I'll let you know when I have an update for testing if you would like that.
-
Vincent Noel January 4th, 2012 @ 09:29 PM
Looks like you took care of everything :-)
I don't mind trying out a beta build. Should I use the email address on MailMate's homepage?
-
benny January 5th, 2012 @ 08:24 AM
That would be fine. You also have “Help ▸ Send Feedback...” within MailMate.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Mac OS X email client.