Setup a self hosted instance and am using Gmail SMTP server with an app password. However, when I try to register a test user, I get an error indicating that “This server hasn’t correctly set up email.”
I used the Lemmy Easy Deploy project to set my system up. Following is the relevant section of the lemmy.hjson
config file:
email: {
smtp_server: "smtp.gmail.com:587"
smtp_login: "<user_name>@gmail.com"
smtp_password: "my_super_secret_password"
smtp_from_address: " <[email protected]>"
tls_type: "tls"
}
How can I find out why my Lemmy server thinks the email isn’t setup properly?
How can I send email from my instance using a Gmail account I created for this purpose?
Looks like we have this issue: https://github.com/LemmyNet/lemmy/issues/3058
Network configs were removed from the docker-compose file. Does anyone know whether in its current form, whether any outgoing network connection on TCP/587 (TLS SMTP) would work?
Can’t test myself inside the Lemmy container, as that one doesn’t have any real commands installed in it.