Round cube 登录连接存储服务器失败

Round cube 登录连接存储服务器失败

我的邮件服务器上有多个域名,并且都正常运行,

我在 mysql 邮件数据库上正常配置了新的邮件域“newdomain.ae”,创建了新用户,并在服务器上创建了收件箱,

但是当我尝试在 Round cube 上的新邮件中登录我的帐户时,出现错误“登录到存储服务器的连接失败”

Round cube 的日志为:

[01-Feb-2016 23:00:01 +0200]: IMAP Error: Login failed for [email protected] from 2.2.2.2. Could not connect to newdomain.ae:143: Connection refused in /var/www/webmail/program/lib/Roundcube/rcube_imap.php on line 184 (POST /mail/?_task=login&_action=login)

笔记:应用程序服务器托管在域“newdomain.ae”下的另一台不同的服务器上

答案1

我终于解决了这个问题,Roundcube 的默认配置是将 @newdomain.ae 解析到应用服务器而不是邮件服务器,

我修改了 roundcube 配置文件“config/main.inc.php”中 smtp 和 imap 的主机参数 $rcmail_config['smtp_server'] 和 $rcmail_config['default_host'] 为邮件服务器 IP,终于成功了:)

相关内容