#1458 new

Retry connections for 'unavailable' accounts

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


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.

Comments and changes to this ticket

  • Stefan Doehla

    Stefan Doehla March 29th, 2017 @ 08:12 PM

    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).

  • benny

    benny March 31st, 2017 @ 10:13 AM

    • 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).

  • Stefan Doehla

    Stefan Doehla April 6th, 2017 @ 09:28 AM

    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!

  • benny

    benny September 22nd, 2017 @ 12:54 PM

    • State changed from “fixcommitted” to “fixreleased”

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.

New-ticket Create new ticket

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.

Shared Ticket Bins

People watching this ticket