Page 1 of 1
IMAP fetching issue
Posted: Tue Aug 01, 2023 3:31 am
by michaelli
Hi,
I'm using HESK v3.4.3
When I set up IMAP Fetching, I chose port 143 for non-encrypted. The test report always said: TLS/SSL failure for mail.xxxxx.com: SSL negotiation failed
Is it a bug?
Please help. Thank you.
Re: IMAP fetching issue
Posted: Tue Aug 01, 2023 8:15 am
by Klemen
Perhaps your IMAP server is forcing a secure connection (I just tested with our mail server al 143 with TLS and with None work OK).
Try port 143 and TLS. Also, try with "Do not validate server certificates".
Any special reason why you wouldn't want your connection encrypted? Port 993 with SSL is the setting that works with most IMAP servers.
Re: IMAP fetching issue
Posted: Fri Oct 06, 2023 6:35 am
by michaelli
Hi Klemen,
Thank you.
Now, I changed the email system to O365 using OAuth, the IMAP fetching connection is okay, but can't pick up the email to tickets.
Checked with
https://www.hesk.com/knowledgebase/?article=91
I did the step 5, the feedback is "#!/usr/bin/php -q" is it right?
Also did step 7.
Please help.
Re: IMAP fetching issue
Posted: Fri Oct 06, 2023 12:22 pm
by Klemen
Do you have any unread emails in the mailbox?
Does the number of unread emails match the number you get in Admin > Settings > Email > click "Test IMAP Connection"
Re: IMAP fetching issue
Posted: Mon Oct 09, 2023 9:04 am
by michaelli
Hi Klemen,
Yes, there are some unread emails, but there is 0 use testing.
Re: IMAP fetching issue
Posted: Tue Oct 10, 2023 7:06 am
by Klemen
This likely means that the OAuth setup was not completed correctly. Try this, please:
1. open Hesk in a private (incognito) browser window to make sure you are not logged in anywhere
2. go to Hesk Tools > OAuth Providers
3. click the "Edit" icon for your OAuth provider
4. click "Save" and you will be redirected to Microsoft
5. Make 100% sure you login with the email account you use in Hesk into Microsoft
6. when you get back to Hesk, test the IMAP connection again
Do you get any other number of messages now instead of 0?
Re: IMAP fetching issue
Posted: Tue Oct 10, 2023 7:26 am
by michaelli
Yes, after step 5 redirected, get the correct number of messages.
Thank you so much!