Open magostinelli opened 5 months ago
I found a solution, this is the working configuration:
config :mobilizon, Mobilizon.Web.Email.Mailer, adapter: Swoosh.Adapters.SMTP, relay: "127.0.0.1", port: 587, username: "mobilizon_notifs", password: "mypassword", auth: :always, ssl: false, tls: :always, tls_options: [ versions: [:tlsv1, :"tlsv1.1", :"tlsv1.2",:"tlsv1.3"], verify: :verify_peer, cacerts: :public_key.cacerts_get(), server_name_indication: 'yunohost.server.name', depth: 99 ], auth: :always, no_mx_lookups: false
Describe the bug
Unable to send email
Context
Steps to reproduce
Expected behavior
Sent email
Logs
Feb 28 19:47:39 yunohost postfix/smtpd[3783555]: warning: TLS library problem: error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../ssl/record/ssl3_record.c:331: Feb 28 19:47:39 yunohost postfix/smtpd[3783555]: lost connection after STARTTLS from localhost[127.0.0.1] Feb 28 19:47:39 yunohost postfix/smtpd[3783555]: disconnect from localhost[127.0.0.1] ehlo=1 starttls=0/1 commands=1/2
I tryed to change port from 587 to 25, but i have the same error.