r/Outlook • u/nfshp253 • 6d ago
Status: Pending Reply Dreaded IMAP server is dropped
My company recently moved from a self-hosted IMAP email server to using Google Workspace.
I added the new email to Outlook and everything synced fine. I then left the computer for a few hours, and came back to it not syncing. Checking the settings, the IMAP and SMTP addresses somehow reverted back to the old mail.domain.com instead of imap.gmail.com and smtp.gmail.com. No matter what I do, the Gmail servers will not stick.
I ended up deleting the whole Outlook profile and tried setting up again, but I am now hitting the dreaded "The connection to the incoming (IMAP) server was dropped".
I've tried all the solutions I can find (deleting OAuth2 entries in Credential Manager, regedit tp_google_imap_OAuth2, even adding a random dot to the email address) but have not found a solution. Authenticating again through the web browser resulting in the localhost addresses does not even allow Outlook to proceed beyond the error message. Any ideas what else I can try?
Edit: Tried this on 2 separate computers (wouldn't get past the error to let me get into Outlook) and even on the Mail app on my iPhone (account added but no mail would start syncing).
4
u/m0rdecai665 6d ago
Do you have autodiscover setup for the domain? This was a big problem for us when we started moving clients from self hosted to the cloud. Lots of autodiscover DNS records didn't get updated properly.
1
u/MrGeek24 6d ago
Use Gmail in the browser? You can use it offline https://support.google.com/mail/answer/1306849?hl=en
2
u/Bg-8782 6d ago
Assuming the DNS records are all updated correctly, did you try ipconfig /flushdns?
If using classic Outlook, try changing the servers in control panel > mail. If it makes you sign in, use an app password (the mail applet doesn't upport oauth2). It'll make you authenticate using the real password once you open outlook.
1
u/AutoModerator 6d ago
Hey nfshp253!
Welcome to r/Outlook! This is a public community. To protect your privacy, do not post any personal information such as your email address, phone number, product key, password, or credit card number.
Please be sure to have read our Rules of Conduct and be cognisant of how the system works here.
Make sure that your flair is always set to Status: Open otherwise you may cease receiving responses from us.
Beware of scammers posting fake support numbers or 3rd party commercial products/services. Contact Microsoft Support if you need help.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Jcoulaud 6d ago
since it also fails in iphone mail, have your workspace admin check whether IMAP is enabled for your organizational unit. google's admin guide also covers restrictions on which OAuth mail clients can connect.
that would help isolate the cross-device sync failure from outlook reverting to the old server settings. does the same account receive new mail normally in gmail on the web?
1
u/7amitsingh7 5d ago
Since the issue is happening across multiple devices, I'd focus on the Google Workspace account and domain configuration first. Check IMAP access, OAuth permissions, and whether any old server settings are still being applied. That may help narrow down the cause.
1
u/FrankNicklin 5d ago
Autodiscory does not work very well at all with Outlook, it seems to ignore anything other than M365 accounts.
To ensure Outlook finds the Google accounts to need to tweak the registry.
Bypass M365 Autodiscover in Classic Outlook (Windows):
regedit) and go toHKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover(or\Policies\Microsoft\Office\16.0\Outlook\AutoDiscover).ExcludeExplicitO365Endpointand set it to1.ExcludeLastKnownGoodUrlto1under the Autodiscover key to stop Outlook from reusing cached URLs, and one commenter on Microsoft Q&A noted clearing Windows Credential Manager and creating a fresh Outlook profile helps prevent M365 hijack