zoukankan      html  css  js  c++  java
  • IMail不能发送邮件的解决方法

    今天在服务器上安装了IMail用来收发邮件,使用的是IMail的版本是8.22。安装了设置的步骤就不说了,网上有很多资料。我进行的也很顺利。然后进行邮箱测试,我使用的是Foxmail。结果接受邮件正常,但是不能发送邮件。使用Foxmail发送的时候也没有报错。

    我首先检查服务和端口是否打开,使用方法是telnet命令链接SMTP服务的端口,服务运行正常。

    查看IMail的日志文件

    02:08 08:46 SMTPD(5ee5013f00000003) [58.218.209.87] connect 121.233.17.1 port 2195
    02:08 08:46 SMTPD(5ee5013f00000003) [121.233.17.1] EHLO client
    02:08 08:46 SMTPD(5ee5013f00000003) Authenticated master@domain.com, session treated as local.
    02:08 08:46 SMTPD(5ee5013f00000003) [121.233.17.1] MAIL FROM: <master@domain.com>
    02:08 08:46 SMTPD(5ee5013f00000003) [121.233.17.1] RCPT TO: <372121888@qq.com>
    02:08 08:46 SMTPD(5ee5013f00000003) [121.233.17.1] D:\Software\IMail\spool\D5ee5013f00000003.SMD 1573
    02:08 08:46 SMTP-(5ee5013f00000003) processing D:\Software\IMail\spool\Q5ee5013f00000003.SMD
    02:08 08:46 SMTP-(5ee5013f00000003) [Att-Blk] ERR: Unable to get Host Attachment Blocking for yajuke.com
    02:08 08:46 SMTP-(5ee5013f00000003) [Att-Blk] ERR: Unable to find Attachment Blocking Host Info for yajuke.com
    02:08 08:46 SMTP-(5ee5013f00000003) Trying qq.com (0)
    02:08 08:46 SMTP-(5ee5013f00000003) Stack connect fail "119.147.15.17"
    02:08 08:47 SMTP-(5ee5013f00000003) Stack connect fail "119.147.15.13"
    02:08 08:47 SMTP-(5ee5013f00000003) requeuing D:\Software\IMail\spool\Q5ee5013f00000003.SMD R0 T1
    02:08 08:47 SMTP-(5ee5013f00000003) finished D:\Software\IMail\spool\Q5ee5013f00000003.SMD status=3

    可以看都在解析qq.com的域名是出错,所以问题应该出在DNS的上面。

    02:08 08:46 SMTP-(5ee5013f00000003) Trying qq.com (0)
    02:08 08:46 SMTP-(5ee5013f00000003) Stack connect fail "119.147.15.17"
    02:08 08:47 SMTP-(5ee5013f00000003) Stack connect fail "119.147.15.13"

    检查Imail的SMTP的设置,发现Domain Name Server address这一项没有设置, 设置为本机的DNS服务器的地址。收发邮件的服务就都正常了。

  • 相关阅读:
    iOS-禁止scrollview垂直方向滚动,只允许水平方向滚动;或只允许垂直方向滚动
    MongoDB安装
    Vue运用
    egg-middleware 中间件
    如何判断扫码的客户端是微信还是支付宝
    node 短信接口的调用
    Mui 长按保存图片
    egg-sequelize --- nodejs
    egg-mongoose --- nodejs
    Mongoose 基本用法
  • 原文地址:https://www.cnblogs.com/hyl8218/p/1665944.html
Copyright © 2011-2022 走看看