Port 465 is SMTPS, TCP.
TCP
low risk
App-IDsmtps
SMTP over implicit TLS — encrypted mail submission. The connection is encrypted from the start, unlike STARTTLS on 587.
Palo Alto
Create the service object for this port, then allow the App-ID on it. Restricting the rule to the port's service object keeps the rule working on a non-default port and stops the App-ID matching on other ports. Replace the placeholders with your own rule name and zones.
set service tcp-465 protocol tcp port 465
set rulebase security rules <rule-name> from <from-zone> to <to-zone> source any destination any application smtps service tcp-465 action allow
Risk and exposure
Rated low risk. Even so, only expose this port to the networks and hosts that need it, and keep it patched.
Check it
- Linux
ss -tlnp | grep :465 - PowerShell
Test-NetConnection <host> -Port 465 - nmap
nmap -p 465 <host>