【问题标题】:MXRecord error when running diagnostics on hMailServer在 hMailServer 上运行诊断时出现 MXRecord 错误
【发布时间】:2018-08-31 16:41:15
【问题描述】:

我已经下载并安装了hmailserver。我想在我的本地机器上运行它,并想使用也在我的本地机器上运行的本地 Web 应用程序发送电子邮件。我的 Web 应用程序无法发送电子邮件(出现错误 - couldn't connect to mydomain:25),因此我想先运行 hmailserver 的诊断工具来测试。

但是当我对其运行诊断时,我看到了错误:

Test: Collect server details hMailServer version: hMailServer 5.6.7-B2425 Database type: MSSQL Compact

Test: Test IPv6 IPv6 support is available in operating system.

Test: Test outbound port SMTP relayer not in use. Attempting mail.hmailserver.com:25... Trying to connect to host mail.hmailserver.com... Trying to connect to TCP/IP address 5.189.183.138 on port 25. Received: 220 mail.hmailserver.com ESMTP. Connected successfully.

Test: Test backup directory ERROR: Backup directory has not been specified.

Test: Test MX records Trying to resolve MX records for mydomain.com... ERROR: MX records for domain mydomain.com could not be resolved

Test: Test local connect Connecting to TCP/IP address in MX records for local domain domain mydomain.com... ERROR: MX records for local domain mydomain.com could not be resolved

Test: Test message file locations Relative message paths are stored in the database for all messages.

Test: Test IP range configuration No problems were found in the IP range configuration.

说实话,我不知道MX Record 是什么以及如何设置它。到目前为止我所做的事情是:

  1. 已安装 hmailserver(显然!)
  2. 添加了域 (mydomain.com)
  3. 在 mydomain.com (signup@mydomain.com) 中添加了一个帐户
  4. 在设置->协议->SMTP中,我在邮件传递->本地主机名部分添加了localhost
  5. c:\Windows\System32\Drivers\etc\hosts 文件中,我添加了条目127.0.0.1 mydomain.com #for play application
  6. 当我运行netstat -a 时,我看到hmailserver 正在监听port 25(我使用net stop hmailservernet start hmailserver 对其进行了测试) Proto Local Address Foreign Address State TCP 0.0.0.0:25 DESKTOP-6PLQOLJ:0 LISTENING[/list]

我是不是搞错了?

【问题讨论】:

    标签: hmail-server


    【解决方案1】:

    如果您的 Windows 操作系统 DNS-Resolver 服务指向不知道任何内容或无法将查询转发到负责指定域及其 MX 记录的 DNS-ServerDNS-Server,则会显示此错误消息.

    简而言之:如果没有正确配置您的 DNS 域,hMailServer(或任何其他SMTP-Server)将无法工作。

    【讨论】:

    • 如何配置 MX 记录?
    猜你喜欢
    • 2014-08-27
    • 2011-04-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多