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服务器的地址。收发邮件的服务就都正常了。

  • 相关阅读:
    form表单为什么不能提交
    遇到了消息堆积,但是问题不大
    面试题:如何保证消息不丢失?处理重复消息?消息有序性?消息堆积处理?
    Dubbo学习地址
    Dubbo入门到实战2
    Dubbo入门到实战
    Mybatis 的三种执行器
    从源码理解Druid连接池原理
    Getting NoSuchMethodError:javax.servlet.ServletContext.getVirtualServerName()
    解决问题:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
  • 原文地址:https://www.cnblogs.com/hyl8218/p/1665944.html
Copyright © 2011-2022 走看看