SMTP settings

Are the email settings for the production.yaml file ok or do you still need to add characters?

What can I do to ensure that the data remains after an update or that I don’t have to keep re-entering it?

SMTP server to send emails

smtp:

smtp or sendmail

transport: smtp

Path to sendmail command. Required if you use sendmail transport

sendmail: null
hostname: ‹ smtp.domain.com ›
port: 465 # If you use StartTLS: 587
username: support@domain.com
password: password
tls: true # If you use StartTLS: false
disable_starttls: false
ca_file: null # Used for self signed certificates
from_address: ‹ support@domain.com ›

email:
body:
signature: ‹ Name ›
subject:
prefix: ‹ [Name] ›

1 « J'aime »

Here is what worked for me. I also had to restart the server to get the setting to take effect but I think you should be able to just restart the service (not sure what the command is) Hope this helps someone

smtp:

smtp or sendmail

transport: smtp

Path to sendmail command. Required if you use sendmail transport

sendmail: null
hostname: domaindotcom
port: 587 # If you use StartTLS: 587
username: user@domain.com
password: password
tls: false # If you use StartTLS: false
disable_starttls: false
ca_file: null # Used for self signed certificates
from_address: ‹ user@domain.com ›

email:
body:
signature: ‹ PeerTube ›
subject:
prefix: ‹ [PeerTube] ›
enabled: true # I am told this bit is important

1 « J'aime »