Hey folks,
I’m trying to use /tool/email to automatically send some emails using smtp.google.com and I’m having the following issue:
ISSUE
When I set tls=yes to enforce usage of tls I get “Error sending e-mail : TLS handshake failed” and the mail is not sent. When I use tls=starttls it works fine and the mail is sent. So 2fa and app password is already set up and working
WHAT I’VE TRIED
I’ve tried setting smtp-relay.gmail.com (as per a suggestion in the forum), but that doesn’t work either.
IS THE TRAFFIC ENCRYPTED RIGHT NOW?
Right now the relevant traffic is encrypted using TLS as shown in the .pcap file but starttls is susceptible to Mitm attacks as it leaves the possibility open for using unencrypted traffic.
server: smtp.gmail.com
port: 587
tls: yes
vrf: main
from: xxxxxx
user: xxxxxxx
password: xxxxxxxx
last-status: failed
last-address: xxxxxxx
What do I go about solving this? I’m on rb4011 v 7.16.1