Page 1 of 1

IMAP fetching stopped working

Posted: Wed Nov 16, 2022 5:34 pm
by shadedk
Version of script: 3.4.1
Hosting company: In-House

Write your message below:

IMAP fetching has stopped working, I think it was after the 3.4.0 update, tried updating to 3.4.1 with no luck. I do remember to have gotten a modificed file for it once, but cannot find it on the forums.

If I test the fetching in the GUI, it says:
Kerberos error: No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_33) (try running kinit) for mail.server.name

Kind Regards

Re: IMAP fetching stopped working

Posted: Wed Nov 16, 2022 6:35 pm
by Klemen
Does this help?
https://hesk.com/extras/hesk3/hesk341_imap_GSSAPI.zip

Place the HeskIMAP.php file into your Hesk's /inc/mail/imap folder then test again.

Re: IMAP fetching stopped working

Posted: Wed Nov 16, 2022 10:30 pm
by shadedk
That fixed the settings, now I can test/update/save setting without any problems. Do I need to apply that patch for each update?

Re: IMAP fetching stopped working

Posted: Thu Nov 17, 2022 11:02 am
by Klemen
That's technically a server-side issue; this patch only disables an authentication method that fails to work on your mail server.

We'll see if we can add a way to disable the GSSAPI method in the settings in the future, but until that happens, you will need to manually apply the patch when the HeskIMAP.php file changes, yes.