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.

Retry connections for 'unavailable' accounts

#1458

Hello,

My work imap account is only available when I connect my vpn. However when I don't the account becomes unavailable.
When I connect my vpn again later mailmate never retries the account until I manually synchronize.

Please change this behavior to retry the account every so often when unavailable.

Reported by Sjoerd · April 7th, 2016 @ 06:57 AM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. Stefan Doehla
    Stefan Doehla

    I actually wanted to write the very same ticket. Not sure though how one could easily check unavailable accounts becoming available and whether one would need to make the polling interval configurable, but a solution would be highly appreciated.

    Since the 'synchronize' menu entry is not that easily reachable, having this as a toolbar button would also be something I think could make sense (but is maybe more an intermediate solution if synchronizing works reliably in the background).

    March 29th, 2017 @ 08:12 PM

  2. benny
    benny
    • State changed from new to fixcommitted

    Sorry about the (very) late reply.

    It's certainly a bug if the account is never synchronized, but I suspect that the main problem is that it takes too long before it's synchronized. The “unavailable” state should mean that MailMate automatically tries again later on. Each time it fails, the time before retrying is increased. It starts at 10 seconds and the maximum wait is 1 hour which might be too much in some cases (note that it handles all kinds of unavailability issues). I could/should make this configurable, but it would of course be better if the network change was detected.

    ...

    Ok, I've now added that MailMate should detect network related changes. When this happens then MailMate immediately retries any accounts which are currently waiting to be retried. To try this out: Hold down ⌥ when clicking “Check Now” in the Software Update preferences pane. Let me know whether or not this solves your issue(s).

    March 31st, 2017 @ 10:13 AM

  3. Stefan Doehla
    Stefan Doehla

    Got the new version (I'm on the 2.0 branch, but this one also got an update today). A first quick test was successful, but I can't yet say how it behaves in the long term. But I think the approach is fully right and probably fixes the issue for good.

    Big thanks!

    April 6th, 2017 @ 09:28 AM

  4. benny
    benny
    • State changed from fixcommitted to fixreleased

    September 22nd, 2017 @ 12:54 PM

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.