If you have set up IMAP in Outlook and are unable to receive emails, it may be due to the IMAP server not supporting the UID SEARCH command. This issue can occur with certain IMAP servers, and the Outlook transport log may show that the connection is closed after sending the UID SEARCH command.
To troubleshoot this issue, you can enable transport logging in Outlook, which will generate a log file that you can review for errors. The log file is located at %temp%\Outlook Logging\IMAP-<usernamedomainname>-<date>-<time>.log. If the log indicates that the connection is being closed, you may need to contact your email service provider to ensure that the IMAP server supports the necessary commands.
Additionally, ensure that your Outlook is updated, as older versions may not handle IMAP connections properly. If the problem persists, consider checking your account settings or consulting with your email provider for further assistance.