You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu服务器上Postfix与Dovecot无法收发邮件的问题求助

Ubuntu服务器上Postfix与Dovecot无法收发邮件的问题求助

各位大佬好,我正在给我的网站在Ubuntu服务器上搭建SMTP服务器,已经成功安装并配置了Postfix和Dovecot(至少是按照教程里的步骤来操作的),但现在遇到了收发邮件都失败的问题。最奇怪的是看日志Postfix好像在处理邮件,具体日志我贴在下面了。另外,用微软邮件客户端登录服务器邮箱时,会提示服务器证书无效,就算忽略这个提示,客户端每隔30-60秒就会要求重新输入密码,真的头疼。

以下是相关日志内容:

Sep  7 19:44:23 stormcraft postfix/pickup[1079156]: 069581E401FD: uid=0 from=<root@stormcraft.online>

Sep  7 19:44:23 stormcraft postfix/cleanup[1079226]: 069581E401FD: message-id=<20230907194423.069581E401FD@stormcraft.online>

Sep  7 19:44:23 stormcraft postfix/qmgr[1079157]: 069581E401FD: from=<root@stormcraft.online>, size=415, nrcpt=1 (queue active)

Sep  7 19:44:23 stormcraft postfix/smtp[1079228]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c01::1b]:25: Network is unreachable

Sep  7 19:44:24 stormcraft postfix/smtp[1079228]: 069581E401FD: to=<fannylord999@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.161.27]:25, delay=1.2, delays=0.09/0.05/0.36/0.75, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.goo>

Sep  7 19:44:24 stormcraft postfix/cleanup[1079226]: 3E8E81E401FE: message-id=<20230907194424.3E8E81E401FE@stormcraft.online>

Sep  7 19:44:24 stormcraft postfix/bounce[1079230]: 069581E401FD: sender non-delivery notification: 3E8E81E401FE

Sep  7 19:44:24 stormcraft postfix/qmgr[1079157]: 3E8E81E401FE: from=<>, size=3619, nrcpt=1 (queue active)

Sep  7 19:44:24 stormcraft postfix/qmgr[1079157]: 069581E401FD: removed

我已经做了这些排查:

  • 检查25端口是否开放:用telnet连接Gmail服务器,连接成功,所以端口应该是通的
  • 尝试给不同邮箱服务商的地址发邮件,问题依旧

这情况实在有点摸不着头脑,希望有经验的朋友能指点一下,谢谢大家!

备注:内容来源于stack exchange,提问作者Ferius

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.21 14:03:01