MagnusBilling
Operations

How to Test an SMTP Server Before Configuring it in MagnusBilling

Test SMTP connectivity, TLS and authentication before entering mail credentials in MagnusBilling.

ENPTES

Email failures often begin with connectivity between your server and the external SMTP provider. Test that path before registering credentials in MagnusBilling.

Check connectivity

Confirm the hostname and port with your email provider. Common submission ports are 465 for implicit TLS and 587 for STARTTLS.

nc -vz -w5 smtp.example.com 465
nc -vz -w5 smtp.example.com 587

Inspect TLS

Use OpenSSL to confirm that the remote certificate and TLS handshake are accepted by the server.

openssl s_client -connect smtp.example.com:465 -servername smtp.example.com

Before saving credentials

  • Confirm the provider hostname, port and encryption mode.
  • Confirm that the datacenter permits outbound SMTP.
  • Use a dedicated account or application password when the provider requires one.
  • Never publish SMTP credentials in logs or support messages.