Server Information
osTicket (v1.6 ST)
Apache/2.2.22 (Ubuntu)
MySQL Version 5.5.62
PHP Version 5.3.10

I am dealing with this problem since i migrated my mail server to Exchange Server 2019. I wanted to configure it but i get these error: "authentication failure [SMTP: STARTTLS failed (code: 220, response: 2.0.0 SMTP server ready)]".

Looking for a solution, i found out that a possibility was changing a line in de SMTP.php file.
the line is something like:

if (version_compare (PHP_VERSION, '5 .1.0 ','>=') & & (isset ($ this-> _esmtp ) | | ($ this-> _esmtp == true)) ) {

replaced it with:

if (version_compare (PHP_VERSION, '6 .1.0 ','>=') & & (isset ($ this-> _esmtp ) | | ($ this-> _esmtp == true)) ) {

After doing that, i tried again an got another error:

I don´t know what to do, hope you can help me 🙁

    abb

    Yo…you are using a version released in 2008.. it is SUPER old, outdated, and unsupported. You need to upgrade to one of the latest versions and retest.

    Cheers.

    • abb replied to this.

      KevinTheJedi I know, but it´s installed on a vm that has another 3 services running on it, so if i upgrade it i could literally crash everything (because i would have to upgrade php, apache and mysql too, so it would affect on the other services).

        abb

        Then you are out of luck.. but it appears the mailserver you are attempting to connect to doesn't support the authentication method osTicket is using. You will need to modify the code to use another method or update the mailserver to accept whatever method osTicket is trying to use. That codebase is so old no one will really be able to help you out.

        Cheers.

        Write a Reply...