Impossible to configure smtp server

Does anyone know how not to get this message when I active peertube?

  • Logs begin at Mon 2019-12-09 13:07:07 CET. –
    dic 10 00:44:17 mail.elproyectox.eu peertube[18367]: > node dist/server
    dic 10 00:44:19 mail.elproyectox.eu peertube[18367]: [elproyectox.eu:443] 2019-12-10 00:44:19.258 warn: Emailer is disabled so the contact form will not work.
    dic 10 00:44:19 mail.elproyectox.eu peertube[18367]: [elproyectox.eu:443] 2019-12-10 00:44:19.887 info: Database peertube_prod is ready.
    dic 10 00:44:20 mail.elproyectox.eu peertube[18367]: [elproyectox.eu:443] 2019-12-10 00:44:20.101 error: Cannot use SMTP server because of lack of configuration. PeerTube will not be able to send mails!
    dic 10 00:44:20 mail.elproyectox.eu peertube[18367]: [elproyectox.eu:443] 2019-12-10 00:44:20.128 info: Cleaning HTML cache.
    dic 10 00:44:20 mail.elproyectox.eu peertube[18367]: [elproyectox.eu:443] 2019-12-10 00:44:20.168 info: Server listening on localhost:9000
    dic 10 00:44:20 mail.elproyectox.eu peertube[18367]: [elproyectox.eu:443] 2019-12-10 00:44:20.168 info: Web server: https://elproyectox.eu

I’ve tried a thousand configurations with a thousand mail servers, is there any tutorial to install correctly a smtp server and that peertube works?

Please paste your configuration file (smtp section)

Well, it was an unforgivable mistake on my part not to have correctly configured the data of the mail service.

I have to add that it is doing a great job with peertube, I am a youtuber with 2.5 million followers and uploading videos to YT is becoming impossible due to the harsh restrictions, rights and the dark and opaque algorithm that favors stupid channels versus those that we make people think.

Many thanks to the creators of peertube, I can guarantee that in a few months, will be an alternative that many current Youtubers have to pull.

I insist, thank you

1 « J'aime »

Hello,
I am facing the same problem as you, I tried several configurations without result with always the same errors:

Emailer is disabled so the contact form will not work.
Cannot use SMTP server because of lack of configuration. PeerTube will not be able to send mails!

Could you give me the part of the SMTP configuration?
I am in Peertube 2 and my SMTP server is on another server.
Sending mail on the Peertube server works with the sendmail daemon, I manage to send an Email from it.
Thank you in advance for your answers.
Crémos

Can you please give us your peertube configuration (SMTP only) :

# SMTP server to send emails

Hello,
thank you for your responsiveness and availability!

#SMTP server to send emails
smtp:
transport: sendmail
sendmail: ‹ /usr/sbin/sendmail ›
sendmail: null
hostname:null
port: 25 # If you use StartTLS: 587 / 465
username: null
password: null
tls: false # If you use StartTLS: false
disable_starttls: true
ca_file: null # Used for self signed certificates
from_address: ‹ adresse admin ›

ou

#SMTP server to send emails
smtp:
hostname: adress server smtp
port: 25 # If you use StartTLS: 587
username: null
password: null
tls: false # If you use StartTLS: false
disable_starttls: true
ca_file: null # Used for self signed certificates
from_address: ‹ adresse admin ›
Crémos

I guess you need to configure it in order to make it sending emails, no ?

Thanks again, my configuration works.
Yes, I would like to configure the registration via a link on the Peertube home page and then have it validated by a moderator. How to display the « create an account » button?
Thank you again for your availability and time spent.

2020-04-26 13_02_42-Trending videos - PeerTube

Unable to connect to SMTP host error happens due to poor mail server configuration, security restrictions or mail client settings.

Incorrect configuration of the production.yaml configuration file.
I would like to configure the registration via a link on the Peertube home page and then have it validated by a moderator. How to display the « create an account » button?
Best regards