Postfix relay for using mails in peertube

My lovely peertube community,

i have a small question. I’m about to install PeerTube for my first time and i am using unraid for this. Recommended to work properly a postgresql database and a postfix relay must be installed. But i have difficulties with the postfix relay.

  • I want to use gmail for the mails from PeerTube. So, i got a special mail address and an app password for this. But inside the unraid docker container environment vars there are several emails to be placed, but nowhere the login/app password credencials for sending mails.
  • Besides that i’m wondering why PeerTube is set up to communicate via port 25 with the postfix relay, but for encrypted point-to-point mails Gmail needs to communicate via port 587 using SSL, not via the unencrypted port 25.

I didn’t ever used a postfix relay and i don’t have any idea how to set this up and if my gmail credentials belong into the postfix relay docker or into the peertube docker. Can anyone tell me how to use this and if the port 25 is correct if the postfix relay needs to address gmail via port 587? I’m very confused about this and i would really apprechiate your help, as there is no help for either the postfix relay, nor for peertube in the unraid forums. And i don’t want to start PeerTube without sending mails.

Thank you!

Chuck