10937 questions

13039 answers

20337 comments

27546 members

0 votes
106 views 1 comments
by

I have a Problem with sending E-Mails from Events-Reporting.

I testet this Sending emails via command line - Teltonika Networks Wiki (teltonika-networks.com) and figured out the Problem:
 

sendmail -v -H "exec openssl s_client -quiet -connect smtp.gmail.com:587 -tls1 -starttls smtp" </tmp/mail.txt -f senders.email@gmail.com -au"senders.email@gmail.com" -ap"pass" recipients.email@gmail.lt

The Problem ist "-tls1". 
It must be -tls1_2 or -tls1_3 !!

Is this adjustable by myself?

1 Answer

0 votes
by

Hello,

Could you elaborate a little bit more? Does it send email correctly using -tls1 or it only sends using -tls1_2 or -tls1_3?

Regards.

by

E-Mail only sends by using -tls1_2 or -tls1_3

With -tls1 no E-Mail will send. I Think there is a Security Risk and the E-Mail Provider will not accept 1.0. 

Look here: Deprecating TLS 1.0 and TLS 1.1