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.

Gmail and iCloud suddenly (unavailable)

#2948

Both Gmail and iCloud had gone offline suddenly and are not reconnecting to their servers.

I've tried re-syncing multiple times and generating new application password for iCloud. Didn't work.

Also attempted restarting app and restarting macos. Connection works fine with any other app. Also as update has completed I assume Mailmate can speak with the internet no problem.

I've also updated to the latest build to see if anything would change and it did not.

MacOS 12.0.1 (21A559)
MailMate Version 1.14 (5845)

Reported by Alex Fazio · November 11th, 2021 @ 03:09 AM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. Alex Fazio
    Alex Fazio

    Just looked at the log: 03:13:55 Error: Could not resolve hostname “imap.mail.me.com” (domain: 12, error: 8)

    Hope it helps

    November 11th, 2021 @ 03:15 AM

  2. Alex Fazio
    Alex Fazio

    Firewall turned off

    When I try to set-up a new IMAP account, message from the GUI:
    Mailbox Retrieval Failed
    Error: "Could not resolve hostname
    "imap.mail.me.com" (domain: 12, error: 3)'

    November 11th, 2021 @ 03:21 AM

  3. Alex Fazio
    Alex Fazio

    New log errors after attempting updating SMTP credentials and server details in both accounts:

    03:22:44 Running action
    03:22:44 Handling request
    03:22:44 Clearing connection to imap.gmail.com
    03:22:44 Ready to run action (type: 1000, retry count: 0)
    03:22:44 Clearing connection to imap.gmail.com
    03:22:44 Trying to connect to imap.gmail.com on port 993 (CFNetwork) without STARTTLS (required)
    03:22:44 Error: Could not resolve hostname “imap.gmail.com” (domain: 12, error: 8)
    03:22:44 Error code: 2
    03:22:44 Failed action (1000). Reset observed read/write timeouts: 8/8

    03:22:44 Handling reply
    03:22:44 Running action
    03:22:44 Handling request
    03:22:44 Clearing connection to imap.gmail.com
    03:22:45 Ready to run action (type: 1000, retry count: 1)
    03:22:45 Clearing connection to imap.gmail.com
    03:22:45 Trying to connect to imap.gmail.com on port 993 (CFNetwork) without STARTTLS (required)
    03:22:45 Error: Could not resolve hostname “imap.gmail.com” (domain: 12, error: 8)
    03:22:45 Error code: 2
    03:22:45 Failed action (1000). Reset observed read/write timeouts: 8/8

    03:22:45 Handling reply
    03:22:45 Running action
    03:22:45 Handling request
    03:22:45 Clearing connection to imap.gmail.com
    03:22:47 Ready to run action (type: 1000, retry count: 2)
    03:22:47 Clearing connection to imap.gmail.com
    03:22:47 Trying to connect to imap.gmail.com on port 993 (CFNetwork) without STARTTLS (required)
    03:22:47 Error: Could not resolve hostname “imap.gmail.com” (domain: 12, error: 8)
    03:22:47 Error code: 2
    03:22:47 Failed action (1000). Reset observed read/write timeouts: 8/8

    03:22:47 Handling reply
    03:22:47 Running action
    03:22:47 Handling request
    03:22:47 Clearing connection to imap.gmail.com
    03:22:50 Ready to run action (type: 1000, retry count: 3)
    03:22:50 Clearing connection to imap.gmail.com
    03:22:50 Trying to connect to imap.gmail.com on port 993 (CFNetwork) without STARTTLS (required)
    03:22:50 Error: Could not resolve hostname “imap.gmail.com” (domain: 12, error: 8)
    03:22:50 Error code: 2
    03:22:50 Failed action (1000). Reset observed read/write timeouts: 8/8

    03:22:50 Handling reply
    03:22:50 Error: Failed multiple retries (4). Final error code was 2.
    03:22:50 Terminating non-running connection...

    November 11th, 2021 @ 03:24 AM

  4. Alex Fazio
    Alex Fazio

    Currently unable to re-import iCloud account from Mail. Import button disabled

    https://i.imgur.com/dFeZ0b5.png

    November 11th, 2021 @ 03:30 AM

  5. Alex Fazio
    Alex Fazio

    Tried to restore Application Support folder from a backup and nothing changed either

    November 11th, 2021 @ 03:36 AM

  6. Alex Fazio
    Alex Fazio

    Mailmate also stopped to display messages

    Stopping Malwarebytes and re-setting multiple messages did not fix the problem. Neither giving full disk access to MailMate from scratch:

    Warning: Email not available on disk

    ### What happened?

    MailMate was unable to find the email on disk. This means that you can see the headers of the message above, but you cannot see the real content of the email. The real content is still available on your IMAP server.

    NOTE: Be careful. If you delete this email then you also delete the real email on the server.

    ### Why did this happen?

    The most likely explanation is that you have anti-virus software installed which has some kind of quarantine feature. MailMate saved the email to disk, but the file was then immediately or later moved by the anti-virus software to a different location — presumably because malicious content was detected in the email.

    MailMate detected this problem when trying to load an email from disk.

    ### Now what?

    The best solution is to tell the anti-virus software to ignore the following folder:

    ~/Library/Application Support/MailMate/Messages
    

    This should be quite safe, because if you try to view an attachment in such a message then it is first saved to a folder and this folder would still be monitored by the anti-virus software:

    ~/Library/Application Support/MailMate/Attachments
    

    Note that if you do this then you can refetch messages using the “Message ▸ Reset...” menu item.

    ### I don't have antivirus software!

    In that case the problem might be a MailMate bug. Please contact support by using the “Help ▸ Send Feedback” menu item.

    November 11th, 2021 @ 06:42 PM

  7. benny
    benny

    First, be careful with replacing “~/Library/Application Support/MailMate” if you have used the “Custom Location” feature in the General preferences pane.

    To make sure we get a clean start, I suggest (re)moving anything but the .plist files in this folder:

    ~/Library/Application Support/MailMate/
    

    Then launch MailMate and take accounts online under Sources in the mailbox list if that hasn't already happened. MailMate should then, in theory, start synchronizing accounts from scratch.

    If it still fails (which it likely will) then it appears the problem is related to the network connection. Have you changed anything in “System Preferences > Network”? Maybe related to the use of proxies? Or a firewall?

    What if you open a Terminal window and connect manually to Gmail like this:

    openssl s_client -crlf -connect imap.gmail.com:993
    

    If it succeeds then you can disconnect by entering:

    0 logout
    

    If it doesn't succeed then the problem is definitely not related to MailMate.

    November 14th, 2021 @ 12:25 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.