Vestacp/Myvestacp webmail报错的解决办法

867
0

一、配置文件错误

错误提示如下:

CONFIGURATION ERROR

config.inc.php was not found.
Please read the INSTALL instructions!

问题原因:未找到config.inc.php文件,造成这个原因有2种情况,一个是config.inc.php文件真实不存在,一个是config.inc.php存在,但是没有权限读取此文件。

解决办法:config.inc.php文件确实存在,在vestacp系统中的位置是:/etc/roundcube/config.inc.php,所以只需要权限即可。

chmod 644 /etc/roundcube/*

二、无法发送邮件

错误提示:SMTP ERROR: MAIL FROM command failed: 550 Access denied – Invalid HELO name (See RFC2821 4.1.3)

错误日志提示:H=localhost.localdomain (10.10.2.24) [127.0.0.1] rejected MAIL [email protected]: Access denied – Invalid HELO name (See RFC2821 4.1.3)

问题原因:用户通过邮件服务器的 IP 地址登录到 Web 邮件客户端 (Roundcube),而不是通过 DNS 名称登录。 在这种情况下,roundcube 将 IP 地址作为 HELO 消息中发件人姓名的一部分发送。 用户从 DNS 登录后,问题就消失了。

解决办法:不能使用IP登录,要使用域名登录。例如:https://mail.exmaple.com/webmail,而不是http://127.0.0.1/webmail

Leave a Reply

Your email address will not be published. Required fields are marked *