Email Configuration

I have modified both Production.yaml and Default.yaml with the needed information to use my email server and restarted NGINX after the mod
when I test by trying recover a password I get
« We are sorry, you cannot recover your password because your instance administrator did not configure the PeerTube email system. »

What else needs to be changed and where is it located

O/S Ubuntu server 20.04
Peertube 2.4.0

Thanks
Keith

Please paste the relevant configuration blocks in your production.yaml.

SMTP server to send emails
smtp:

smtp or sendmail

transport: smtp

Path to sendmail command. Required if you use sendmail transport

sendmail: null
hostname: justourmail.com
port: 587 # If you use StartTLS: 587
username: admin@worldofvids.com
password: ^%%&&^^&^&()()% (Fake)
tls: true # If you use StartTLS: false
disable_starttls: false
ca_file: null # Used for self signed certificates
from_address: ‹ admin@worldofvids.com ›

Thank you for quick response

Hello,

Please check PeerTube logs on startup, to see if it tries to connect to your smtp host.

Hello,

I’m not familiar with Peertube. But maybe check this requirements :

  • Does your firewall accept outgoing connections to SMTP servers ? (Try to use a telnet command)
  • Does a mail client is install on the server ? This is normally the case though.
  • Does Nginx is allowed to send mail ? (I mainly think about SELinux settings upon web server)

The error message says nothing about not being able to connect to the email server, it say Email has not bee configured on this Peertube instance

We are sorry, you cannot recover your password because your instance administrator did not configure the PeerTube email system. »

Thanks

Where did you configure your email settings? In config/production.yaml?

Yes I configured it in Production.yaml and to play it safe also in Default.yaml.

Curious note: on many occasions once I did this configuration, I would then get a Page not found error 502

Keith