User Tools

Site Tools


linux:centos:email:check-connectivity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:centos:email:check-connectivity [2019/04/09 18:43] (current)
odefta created
Line 1: Line 1:
 +====== Check SMTP server connectivity ​ ======
 +
 +===== Check SMTP SSL/TLS =====
 +
 +  openssl s_client -connect medjava.ro:​465
 +
 +<​code>​
 +CONNECTED(0000013C)
 +---
 +Certificate chain
 + 0 s:OU = Domain Control Validated, OU = Globe Standard SSL, CN = medjava.ro
 +   i:C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Domain Validation Secure Server CA
 + 1 s:C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Domain Validation Secure Server CA
 +   i:C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Authority
 + 2 s:C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Authority
 +   i:C = SE, O = AddTrust AB, OU = AddTrust External TTP Network, CN = AddTrust External CA Root
 +---
 +Server certificate
 +-----BEGIN CERTIFICATE-----
 +MIIGUTCCBTmgAwIBAgIQcWa4ozN875XturRmQfOj3DANBgkqhkiG9w0BAQsFADCB
 +kDELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
 +A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxNjA0BgNV
 +</​code>​
 +
 +===== Check SMTP STARTTLS =====
 +
 +  openssl s_client -connect medjava.ro:​587 -starttls smtp
 +  ​
 +<​code>​
 +CONNECTED(00000134)
 +---
 +Certificate chain
 + 0 s:OU = Domain Control Validated, OU = Globe Standard SSL, CN = medjava.ro
 +   i:C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Domain Validation Secure Server CA
 + 1 s:C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Domain Validation Secure Server CA
 +   i:C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Authority
 + 2 s:C = GB, ST = Greater Manchester, L = Salford, O = COMODO CA Limited, CN = COMODO RSA Certification Authority
 +   i:C = SE, O = AddTrust AB, OU = AddTrust External TTP Network, CN = AddTrust External CA Root
 +---
 +Server certificate
 +-----BEGIN CERTIFICATE-----
 +MIIGUTCCBTmgAwIBAgIQcWa4ozN875XturRmQfOj3DANBgkqhkiG9w0BAQsFADCB
 +kDELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G
 +A1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxNjA0BgNV
 +BAMTLUNPTU9ETyBSU0EgRG9tYWluIFZhbGlkYXRpb24gU2VjdXJlIFNlcnZlciBD
 +...
 +</​code>​
  
linux/centos/email/check-connectivity.txt ยท Last modified: 2019/04/09 18:43 by odefta