openssl s_client domain.ru:443 openssl s_client -starttls smtp -connect domain.ru:587