smtp-check - SMTP setup checker
smtp-check [-port port] [-skip_tls_check] domain
smtp-check is a command-line too for checking SMTP setups (DNS records, TLS certificates, SPF, etc.).
chasquid(1)