Describe the issue or problem
I can’t send emails after updating to the last version. This the relevant part in config.inc.php
; Use SMTP for sending mail instead of mail()
smtp = On
; SMTP server settings
; smtp_server = mail.example.com
; smtp_port = 25
smtp_server = box.pacha.dev
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 = "contacto@lenguasradicales.cl"
smtp_password = "REDACTED"
This is what I see in the logs
SMTP Error: The following recipients failed: some@usr.com: <myemail@site.com>: Sender address rejected: not owned by user contacto@lenguasradicales.cl\r\n, referer: https://ojs.lenguasradicales.cl/index.php/lr/management/settings/access
The same settings work with Thunderbird. box.pacha.dev 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 config.inc.php, try different settings and reboot each time to see if the email works again.
What application are you using?
OJS 3.3.0-11