Description
Description
I'm running Gitea on Ubuntu 22.04 LTS. Gitea was able to send test messages in version 1.14. In versions 1.18 through 1.21, when I have attempted to send a test email, it has always failed.
Under version 1.14, this configuration worked:
[mailer]
ENABLED = true
HOST = mail.dummydomain.com:587
FROM = [email protected]
USER = [email protected]
PASSWD = XXXXXXX
PROTOCOL = smtps
SMTP_ADDR = mail.dummydomain.com
SMTP_PORT = 587
Under versions 1.18 through 1.21, I've tried this configuration:
[mailer]
ENABLED = true
FROM = [email protected]
SMTP_ADDR = mail.dummydomain.com
SMTP_PORT = 587
USER = [email protected]
PASSWD = XXXXXX
I've also tried specifying PROTOCOL using smtp, smtps and starttls. Nothing has worked.
Per this posting, #24899, in versions 1.18 through 1.20 (it was deprecated in 1.21), I tried including the HOST = mail.dummydomain.com:587 statement, but that didn't help either.
I have also, using the openssl -client option, manually sent test emails from the server's terminal line. So, the server is able to communicate with the mail server.
Gitea Version
1.18 through 1.21
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Ubuntu 22.04
How are you running Gitea?
Download the various versions of Gitea from dl.gitea.io. Followed these basic instructions for installing Gitea: https://www.rosehosting.com/blog/how-to-install-gitea-with-nginx-and-free-lets-encrypt-ssl-on-ubuntu-20-04/
Database
MySQL/MariaDB