Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Google Apps account losing IDLE

#521

Dear Benny,

I have been a happy user of MailMate since discovering it in the past few weeks. At last a fully functional client for gmail which works with offline copies.

The problem I am having is not MailMate's exclusive - I had it on Postbox as well. I have two google apps accounts - one with the domain bulgueroni.net and another with the domain badv.com.br - the first one works with IDLE all the time, flawless. The second one, badv.com.br, tends to "forget" the IDLE connection and stop syncing - right now this account is more than 30 minutes without synchronization of the inbox - the other folders are synchronizing fine on the 10-minute schedule.

I write this hoping you can help me diagnose this problem - there is no difference between the server setup of badv.com.br and bulgueroni.net, and I really do not know where to start. Can you help?

Thanks and congratulations on the great software!

Reported by Marcelo Bulgueroni · December 4th, 2013 @ 02:30 PM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    Thanks for the kind words.

    The first thing to check is that MailMate is not to blame. When this happens then make sure that the INBOX of the account is written with a bold font. This is how MailMate shows that it's in an IDLE state. If that is true then open the Activity Viewer (⌥⌘0) and select the IDLE connection for this mailbox. Keep the window open and see if there is any activity within the next 10 minutes. Let me know what you find.

    December 4th, 2013 @ 03:02 PM

  2. Marcelo Bulgueroni
    Marcelo Bulgueroni

    Benny,

    Thanks a lot for the kind and quick answer!

    It is clear to me that it is a (strange) server issue, and I apologize for not making it clear... What I hope is to use MailMate as a more adequate tool to determine where the problem lies. I did not know for example of the bold font indicating an IDLE connection.

    Seeing the Activity Viewer I noticed that it was actively fetching mails from many folders I have on BADV account and no IDLE connection was active. After the fetching ended (it took a long time, maybe because I had removed many labels from gmail server side), the IDLE connection was established. After that, I kept looking at the activity viewer and got the impression that while many FETCH operations are undergoing the IDLE connection is not available, is that right? Since I have many folders and nested folders, could that be affecting in some way the time needed for fetching operations, since I notice on the Activity Viewer that it checks all my folders? Maybe reducing the folders or at least subfolders could help?

    I apologize for my little knowledge of IMAP here, if I am asking something obvious I would be glad to be directed to any good sources of information instead of wasting your time with a problema which probably does not have anything to do with the excellent software you provided us :-)

    December 4th, 2013 @ 07:46 PM

  3. benny
    benny

    Yes, a large number of folders could trigger this behavior. How many do you have?

    So, the difference between the two accounts is the number of mailboxes.

    You can change how often mailboxes are checked by changing the “Synchronization Schedule” of the mailbox. If you do it on the account itself then this is inherited as a default for all other mailboxes (except the INBOX).

    December 5th, 2013 @ 03:41 PM

  4. Marcelo Bulgueroni
    Marcelo Bulgueroni

    Benny, the "problematic" account had indeed much more folders than the other. More than a hundred for sure, and some of them were incorrectly "nested" on the gmail interface (showing as folder/subfolder/folder instead of the tabbed view google now adopts) - do not know if that last issue was making it harder to deal with the folder.

    I reduced the folder number drastically by taking some backup folders and flattening their hierarchy since I can use good search with the web interface and (finally! :-) with Mailmate as client.

    The ability to set all folders synchronization Schedule per account and then choose specific mailboxes to sync on a different schedule is almost magical! Very well-thought. Already set many of them to only sync per hour and it seems IDLE is being maintained flawlessly.

    Thanks a lot for your insight in this. The only thing I regret concerning this software is that I took so long to first use it ;-)

    Cheers,

    Marcelo

    December 7th, 2013 @ 04:59 PM

  5. benny
    benny
    • State changed from new to accepted

    I'm glad it works better for you now. I'll continue to consider the main issue to be a performance problem for (Gmail?) accounts with a large number of mailboxes.

    December 8th, 2013 @ 09:35 AM

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.