I am running:

  • Version v1.12 (a076918)
  • Apache/2.2.15 (Red Hat)
  • MySQL 5.1.73
  • PHP Version 5.6.40

Yes it's an EOL version and my server is old. However, after 4 years it suddenly lost the ability to fetch mail from Office365. It will send mail, but the login to fetch is being rejected as a failed authentication. ("Can not authenticate to IMAP server: AUTHENTICATE failed.") As far as I know there have been no changes toe the server. I also can't edit the settings. Nor delete the email to try to set it up from scratch. Any ideas?

  • RBGE replied to this.

    ealtman When you say you can't edit the settings or set it up from scratch, is that because you're not an admin on the system or there's a problem with a forgotten password? If the latter, you can reset an admin password as long as you have access to the database - see the post from ntozier here https://forum.osticket.com/d/5450-admin-password-reset/2 (it's an old post, but as far as I'm aware should still work - backup your database beforehand though just in case!)
    Once into the admin settings, you can check and verify the settings - you should also receive a bit more detail about any authentication errors when you update the settings (such as finding IMAP isn't using SSL when it should, or similar).

    And I know you already know this, but it really is worth upgrading to a supported version - you're only one version behind one of the current supported ones (1.14.x... 1.13.x was skipped due to Americans and their phobia of 13 😉 ) although note that you'd have to upgrade PHP too.

    Other than the assertion of Americans all suffering from Triskaidekaphobia I agree with @RGBE's response. 😉

    Also as a side note: if it was working and nothing has changed on the webserver... then that would indicate to me that something changed on the Microsoft side.

    Such as:

    • the email account password was changed or expired / the account was disabled
    • the account access was changed (ie the account does not have IMAP rights)
    • or an actual M365 authentication change (such as preparation for legacy auth being shut off)

    You should be able to go to the Search and Compliance center and use Search and Investigation -> Audit Log Search to find the failed authentication attempts. If they aren't there... then the request is not reaching M365.

    Write a Reply...