【问题标题】:Can receive but can not send email ubuntu 20.04可以接收但不能发送电子邮件 ubuntu 20.04
【发布时间】:2022-01-25 10:22:00
【问题描述】:

我正在使用 Postfix、Roundcube 1.4.3 和 devcot 在我的 vps 服务器上接收和发送电子邮件。

我可以接收电子邮件,但发送电子邮件时出现错误,邮件从未到达目的地。

端口587 是roundcube 使用的端口。

Roundcube error.log

[25-Dec-2021 07:18:35 +0000]: <669e8q7l> PHP Error: Connection refused (POST /?_task=mail&_unlock=loading1640416601599&_framed=1&_action=send)
[25-Dec-2021 07:18:35 +0000]: <669e8q7l> PHP Error: Failed to connect socket: Connection refused (POST /?_task=mail&_unlock=loading1640416601599&_framed=1&_action=send)
[25-Dec-2021 07:18:35 +0000]: <669e8q7l> SMTP Error: Connection failed: Failed to connect socket: Connection refused in /usr/share/roundcube/program/lib/Roundcube/rcube.php on line 1702 (POST /?_task=mail&_unlock=loading1640416601599&_framed=1&_action=send)
[25-Dec-2021 07:31:29 +0000]: <eb91q6is> PHP Error: Connection refused (POST /?_task=mail&_unlock=loading1640417491382&_framed=1&_action=send)
[25-Dec-2021 07:31:29 +0000]: <eb91q6is> PHP Error: Failed to connect socket: Connection refused (POST /?_task=mail&_unlock=loading1640417491382&_framed=1&_action=send)

Roundcube ui 出现错误

SMTP Error (-1): Connection to server failed.

【问题讨论】:

    标签: email smtp postfix-mta roundcube


    【解决方案1】:

    您尝试发送邮件的端口上没有任何监听。您需要配置您的后缀以在端口 587 上侦听和接受邮件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-11-17
      • 2021-10-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-10
      • 1970-01-01
      相关资源
      最近更新 更多