I have web application which I am setting up on a new vps. It is supposed to send email to the business owner whenever clients leave messages via the web-application.
Apparently, the VPS can not send emails for some reason (I tested it with a python script which working on anther VPS). I am looking for a way to confirm whether a network policy is stopping my vps to connect to smtp.gmail.com:587. Sth like nmap to make sure whether I am allowed to connect to smpt of gmail.