Sending emails from OJS 3.3 LTS

Describe the issue or problem

I can’t send emails after updating to the last version. This the relevant part in

; Use SMTP for sending mail instead of mail()
smtp = On

; SMTP server settings
; smtp_server =
; smtp_port = 25
smtp_server =
smtp_port = 465

; Enable SMTP authentication
; Supported smtp_auth: ssl, tls (see PHPMailer SMTPSecure)
; smtp_auth = ssl
; smtp_username = username
; smtp_password = password
; Supported smtp_authtype: RAM-MD5, LOGIN, PLAIN, XOAUTH2 (see PHPMailer AuthType)
; (Leave blank to try them in that order)
; smtp_authtype =
smtp_auth = ssl
smtp_username = ""
smtp_password = "REDACTED"

This is what I see in the logs

SMTP Error: The following recipients failed: <>: Sender address rejected: not owned by user\r\n, referer:

The same settings work with Thunderbird. is the mail server, it’s a limited resources journal, and I’m using my own server for email.

Do I need to install additional software such as apt install php-smtp? I already installed sudo apt install libphp-phpmailer

Steps I took leading up to the issue

Update to 3.3 from 3.2, restore articles, images, etc, then edit, try different settings and reboot each time to see if the email works again.

What application are you using?
OJS 3.3.0-11

Hi @pachadotdev,

As a first step, you may wish to try some of the advice on troubleshooting email here:

If the problem still persists, let us know.

PKP team

Hi @pachadotdev

That’s an error on the SMTP configuration side, it’s not about OJS. You should take a look on how to solve SMTP error 553 5.7.1 on your environment.

Did you update from 3.2 to 3.3 using the same server or is it a new environment?

Thanks! new server, I rsync’ed the published articles and transferred a SQL dump to be sure
The curious thing is that on OJS, if I create a user with email same as the email in SMTP, I can send emails from OJS. If I switch the email for the OJS account, then it doesn’t work. The email server remains intact.