sendmail报错:“My unqualified host name ( name ) unknown; sleeping for retry“

标签: ,

正在查看 0 条回复
  • 作者
    帖子
    • okass - WirelessLink Forumokass
      参与者
      #1320
      Up
      2
      ::

      1> tecent企业邮箱发送失败,查看系统邮件日志,发现如下错误:

      Dec 11 14:28:08 rdosrv sendmail[22803]: My unqualified host name (rdosrv) unknown; sleeping for
      retry

      Dec 11 14:35:23 rdosrv sendmail[22944]: My unqualified host name (rdosrv) unknown; sleeping for
      retry

      Dec 11 14:35:57 rdosrv sendmail[22962]: My unqualified host name (rdosrv) unknown; sleeping for
      retry

       

      竟然是无法解析rdosrv,有点意思,直接去ping rdosrv自然是没问题,突然想到好像FQDN里面规定域名必须用”.”结尾,难道是hosts里面少了一个”.”,尝试修改hosts文件:

      # Do not remove the following line, or various programs

      # that require network functionality will fail.

      127.0.0.1 localhost.localdomain localhost

      192.168.1.28 rdosrv. rdosrv

      启动sendmail,刷一下就启动了

       

      另外的5种修改方法汇总: 

      另外: 如果邮箱账户被禁用也会导致该问题,比如tencent 的企业邮箱账户没有授权客户端登陆密码,也会存在这个问题

       

      2>发送邮件时发生错误 (535 Error: authentication failed, system busy )

      解决办法:https://blog.csdn.net/MyMBS/article/details/89017493

       

      访问ChatGPT的可用VPS机房IP推荐 Lisahost美国原生IP搬瓦工美西DMITTripodcloudFrantech
正在查看 0 条回复
  • 哎呀,回复话题必需登录。
WirelessLink Forum
Logo