首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在MXRecord上运行诊断时出现的hMailServer错误

在MXRecord上运行诊断时出现的hMailServer错误
EN

Stack Overflow用户
提问于 2018-08-31 16:41:15
回答 1查看 2.4K关注 0票数 0

我已经下载并安装了hmailserver。我想在我的本地机器上运行它,并希望使用本地web应用程序发送电子邮件,该应用程序也运行在我的本地机器上。我的web应用程序无法发送电子邮件(got错误- 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中,我在电子邮件->Localhostname部分的传递中添加了本地主机。
  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]

我犯了什么错误吗?

EN

回答 1

Stack Overflow用户

发布于 2019-07-19 04:32:25

如果您的Windows操作系统DNS-Resolver服务指向一个DNS-Server,该DNS-Server不知道或不能将查询转发给负责指定域及其MX-记录的DNS-Server,则会显示此错误消息。

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/52119682

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档