小编Ami*_*ami的帖子

如何配置 roundcube 以与 imaps 一起使用?

我最近安装了 Postfix、Dovecot 以在我自己的 VPS 上设置邮件服务器(使用本教程:使用 Postfix、Dovecot、Mysql 发送电子邮件

Imaps 服务器使用 993 端口进行身份验证,Postfix 使用端口 25 发送邮件。在本教程中,用户存储在一个数据库中(因此 imaps 使用 mysql 来验证用户)。我确信 imaps 和 postfix 一切正常,因为几天前我安装了 Kmail 客户端(在我的 linux 上)并从我的服务器接收邮件。发送邮件也可以正常工作,我向 Gmail 发送了一封邮件,谷歌没有问题地收到了它(在我的“Gmail 收件箱”而不是垃圾邮件文件夹中)

因此,为了从 Web 邮件客户端访问我的电子邮件,我在/var/www/mail目录中安装了Roundcube

我多次配置 Roundcube。但每次它给我这个错误:

IMAP 错误:从 XxXx 登录 [me@mydomain] 失败。184 行 /var/www/mm/program/lib/Roundcube/rcube_imap.php 中的空启动问候语 (localhost:993) (POST /mm/?_task=login?_task=login&_action=login)

当我从 roundcube 登录时,imap 服务器说(在/var/log/mail.log 中):

5 月 20 日 07:05:16 my-server dovecot:imap-login:断开连接(无身份验证尝试):rip=::1,lip=::1,TLS 握手:断开连接

这是我的圆形立方体配置文件:

$config['db_dsnw'] = 'mysql://roundcubeuser:myPassword@localhost/roundcubemail';
// ----------------------------------
// IMAP
// ----------------------------------
$config['debug_level'] = 13; …
Run Code Online (Sandbox Code Playgroud)

email-server imap roundcube

7
推荐指数
2
解决办法
2万
查看次数

标签 统计

email-server ×1

imap ×1

roundcube ×1