open Services.msc – Set IMAP and POP services to automatic and start it
Its recommended to stop using POP services and configure only IMAP
or Use Powershell
Using PowerShell –
Start-Service MSExchangeIMAP4; Start-Service MSExchangeIMAP4BE
Set-Service MSExchangeIMAP4 -StartupType Automatic; Set-Service MSExchangeIMAP4BE -StartupType Automatic
If you are having a wild card certificate make sure you run the below commands. so that POP and IMAP services can connect to this FQDN
To be Run on all CAS Servers
Set-ImapSettings -ExternalConnectionSettings "mail.azure365pro.com:993:SSL","mail.azure365pro.com:143:TLS" -X509CertificateName mail.azure365pro.com
Test-ImapConnectivity –ClientAccessServer Servername -Lightmode -MailboxCredential (Get-Credential)
Get-ReceiveConnector "*\client Frontend*" | Set-ReceiveConnector -AdvertiseClientSettings $true -Fqdn mail.azure365pro.com
(if you want clients that connect through the server with FQDN mail.careexchange.in to be able to look up their own SMTP setting.
Restart Pop and IMAP services to Take effect.
Restart-Service MSExchangeIMAP4; Restart-Service MSExchangeIMAP4BE
Outlook 2016 Client Settings for IMAP to work.