【问题标题】:Testing Zoho Mail server from ssh从 ssh 测试 Zoho Mail 服务器
【发布时间】:2015-01-22 07:37:04
【问题描述】:

我想确保我们的服务器能够使用 Zoho 的服务连接和发送电子邮件。如何完全通过连接到我的服务器 ssh 的终端来测试这个?

服务器的设置是 Linux Ubuntu,但最好提供与平台无关的答案。

以下是 Zoho 的邮件服务器详细信息: https://www.zoho.com/mail/help/zoho-smtp.html

【问题讨论】:

    标签: email ssh mail-server zoho


    【解决方案1】:

    在端口 25 上连接到 smtp.zoho.com 以建立 smtp 连接并发送邮件。对于 SSL/TLS 连接,应使用 openssl 库来建立 smtp 连接

    用于简单的 smtp 连接

    telnet smtp.zoho.com 25
    

    用于 SSL 连接

    openssl s_client -connect smtp.zoho.com:465
    

    对于 TLS 连接

    openssl s_client -starttls smtp -connect smtp.zoho.com:587 -crlf -ign_eof
    

    希望这就够了

    【讨论】:

      猜你喜欢
      • 2016-12-11
      • 2011-03-12
      • 1970-01-01
      • 2023-02-17
      • 2019-05-25
      • 2023-03-13
      • 2021-06-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多