0

I am using SES of AWS to send emails. I had to go through the approval to be even able to send emails. I was approved and I have opened all inbound and outbound ports needed for email sending. Right now I have opened [25 587 and 465]. Email sending works fine no issue there BUT.

I started to implement logic to check if the email even exists when someone uses formular to send any kind of request and if it doesn t just send back an info that this mail is not valid. I am using this library for that https://gitea.ksol.io/karolyi/py3-validate-email.

There I am getting stuck on not being able to connect to following

13:55:16.201119 connect: to ('gmail-smtp-in.l.google.com', 25) None
13:55:21.206993 send: 'quit\r\n'
13:55:21.207069 connect: to ('alt1.gmail-smtp-in.l.google.com', 25) None
13:55:26.213167 send: 'quit\r\n'
13:55:26.213242 connect: to ('alt2.gmail-smtp-in.l.google.com', 25) None
13:55:31.218472 send: 'quit\r\n'
13:55:31.218554 connect: to ('alt3.gmail-smtp-in.l.google.com', 25) None
13:55:36.224451 send: 'quit\r\n'
13:55:36.224524 connect: to ('alt4.gmail-smtp-in.l.google.com', 25) None
13:55:41.230427 send: 'quit\r\n'

So I tried to telnet it myself and it really can not connect to any of them with port 25 465 or 587. I am not sure why this is.

Mark B
  • 157,487
  • 23
  • 275
  • 266

0 Answers0