Hi.
I have a fresh installation of osTicket 1.17.3 and I can't get SMTP to work.
In the web interface, I get a "5.7.8 Error: authentication failed: Invalid authentication mechanism" whenever I try to save the SMTP settings.
I'm using basic authentication (no oauth2 plugin). Port is 587. I also tried "Same as Remote Mailbox" with the same result.
The POP config is accepted and I can open tickets from emails, but SMTP doesn't work.
I know the SMTP settings are right. I also have an older osTicket installation (v1.14.3) and it works perfectly.
I can't find any reference to this particular error online. The osTicket logs and the Apache logs don't show anything. My only feedback is the message from the web interface.
I've made several fresh installations and the result is the same.
I've also tried the following:
I disabled the SMTP settings and installed sendmail and then I could send mails from osTicket, but I can't use this solution because those mails don't use my domain's MTA, so they get shut down by Google and other domains for lack of SPF, DMARC and DKIM records.
I'm out of ideas. Please help.
Ubuntu 22.04 (headless)
mysql Ver 8.0.32
PHP 8.1
osTicket 1.17.3