我最近在 Centos6/postfix/dovecot 服务器上安装了 Roundcube。
默认安装效果很好,但我正在尝试配置一些我似乎无法弄清楚的选项。
我的最终结果将是用户点击:
或者
我已经设定
$rcmail_config['include_host_config'] = true;
Run Code Online (Sandbox Code Playgroud)
在我的 main.inc.php 中创建 domainname1.inc.php 和 domainname2.inc.php
我在每个中更改了以下内容
$rcmail_config['default_host'] = array('domainname1.com');
$rcmail_config['default_host'] = array('domainname2.com');
Run Code Online (Sandbox Code Playgroud)
我不确定还有什么我需要改变的。
对此的任何帮助将不胜感激
我有一个 Postfix / Dovecot / Roundcube 设置,我个人使用,也提供给其他用户。我试图将整个设置转移到一个新的盒子,但有一些问题。
邮件接收工作正常(仅在内部测试,域尚未传输。)以及使用 TLS/SSL 的外部 IMAP 和 SMTP 工作正常(例如,Thunderbird)
问题出在我的圆形立方体设置上,它可以使用 IMAP 到 127.0.0.1,并且可以很好地显示用户的电子邮件,但无法发送电子邮件,只需声明: "SMTP Error (220): Authentication failed."
奇怪的是,使用我在当前服务器上使用的相同 Postfix/Dovecot 配置,Roundcube 无法再在我的新服务器上访问它。这是相关的圆形立方体配置:
$config['smtp_server'] = 'tls://localhost';
// Log SMTP conversation to <log_dir>/smtp or to syslog
$config['smtp_debug'] = true;
// SMTP port (default is 25; use 587 for STARTTLS or 465 for the
// deprecated SSL over SMTP (aka SMTPS))
$config['smtp_port'] = 587;
// SMTP username (if required) if you use %u as the username Roundcube
// …
Run Code Online (Sandbox Code Playgroud) 我已经设置了 postfix、dovecot 和 roundcube。通过 roundcube 接收和发送电子邮件以及通过 imap 与另一个电子邮件客户端接收电子邮件一样有效。
但我无法使用外部电子邮件客户端发送电子邮件。一旦我连接,我就会看到:
postfix/smtpd[1258]: warning: SASL: Connect to private/auth failed: No such file or directory
postfix/smtpd[1258]: fatal: no SASL authentication mechanisms
Run Code Online (Sandbox Code Playgroud)
在邮件日志中。
这是我的 dovecot 配置:
dovecot -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.6
mail_location = mbox:~/mail:INBOX=/var/mail/%u
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use …
Run Code Online (Sandbox Code Playgroud) 我与一个后缀/达夫科特/ Roundcube安装工作,力争虚拟用户的邮件系统,可以通过互联网发送邮件,如记录在这里。
一切似乎都运行良好;Dovecote 显示没有问题,我可以 telnet 到我所有的端口;但是,每当我尝试通过 Roundcube 发送邮件时,都会出现错误:
SMTP Error (220): Authentication failed.
Run Code Online (Sandbox Code Playgroud)
从日志中:
[17-Jan-2015 05:27:31 +0000]: SMTP Error: SMTP error: Authentication failure: STARTTLS failed (Code: ) in /usr/share/webapps/roundcubemail/program/lib/Roundcube/rcube.php on line 1505 (POST /roundcube/?_task=mail&_unlock=loading1421472451594&_lang=en_US&_framed=1?_task=mail&_action=send)
Run Code Online (Sandbox Code Playgroud)
我想既然 Postfix 负责 SMTP,它一定是罪魁祸首。在我的 Postfix 日志中,我看到:
Jan 16 21:14:35 steelhorse postfix/smtpd[18426]: disconnect from localhost.localdomain[127.0.0.1]
Jan 16 21:14:35 steelhorse postfix/smtpd[18426]: lost connection after STARTTLS from localhost.localdomain[127.0.0.1]
Jan 16 21:14:35 steelhorse postfix/smtpd[18426]: warning: TLS library problem: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1293:SSL alert number
Jan 16 21:14:35 …
Run Code Online (Sandbox Code Playgroud) 我有自己的电子邮件服务器,在 Xen 下的 VM 中运行。我想设置另一个带有 Web 邮件系统的 Xen VM,让我的用户从 Web 浏览器访问他们的邮件。
我想为 VM 使用 Debian Stable,现在是 Debian 5.0 Lenny。我还希望我的所有软件都是免费的开源软件。
什么是最好的网络邮件系统?似乎最受欢迎的是Squirrelmail。我应该只用那个吗?是否有其他网络邮件系统可能更好/更安全?
我的计划是将 webmail 配置为使用安全 IMAP(通过 SSH,端口 993)与邮件服务器通信。这样一来,如果有人设法破解了 webmail 服务器,他们攻击邮件服务器的时间就会减少。但我想主要的担忧是攻击者是否只是修改了网络邮件系统来收集密码,所以这也许毫无意义,我应该让网络邮件通过普通的 IMAP 与邮件服务器通信。(嗯,心理提示:必须发布一个关于入侵检测的问题。)
任何其他关于建立网络邮件系统的建议将不胜感激。
我最近安装了 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) 我有一个安装和配置后缀的邮件服务器,如http://flurdy.com/docs/postfix/index.html。我使用带有两个maildb
字段=和=的表的 mysql 数据库。使用如下查询更新密码:users
id
'user@domain.com'
crypt
'salted_md5_hash'
UPDATE users SET crypt = ENCRYPT('apassword', CONCAT('$5$', MD5(RAND()))) WHERE id = 'user@domain.tld';
Run Code Online (Sandbox Code Playgroud)
Roundcube 1.0-RC 根据http://trac.roundcube.net/wiki/Howto_Install安装
如何设置 roundcube 密码插件以与上述安装一起使用?
我正在尝试在运行亚马逊的 debian 盒子上获取 roundcube/dovecot/postfix。我可以登录并接收电子邮件,但无法发送。我在 roundcube 中遇到错误,smtp authentication error (220) Authentication failed.
Roundcube错误日志:
\n[24-Sep-2020 08:47:24 +0000]: <a83d4mll> PHP Error: STARTTLS failed (POST /?_task=mail&_unlock=loading1600937244456&_framed=1&_lang=en_US&_action=send)\n[24-Sep-2020 08:47:24 +0000]: <a83d4mll> PHP Error: Invalid response code received from server (POST /?_task=mail&_unlock=loading1600937244456&_framed=1&_lang=en_US&_action=send)\n[24-Sep-2020 08:47:24 +0000]: <a83d4mll> SMTP Error: Authentication failure: STARTTLS failed (Code: ) in /opt/bitnami/apps/roundcube/htdocs/program/lib/Roundcube/rcube.php on line 1702 (POST /?_task=mail&_unlock=loading1600937244456&_framed=1&_lang=en_US&_action=send)\n
Run Code Online (Sandbox Code Playgroud)\nroundcube SMTP 日志:
\n[24-Sep-2020 08:52:08 +0000]: <a83d4mll> Connecting to tls://webmail.theomnihealthgroup.com:587...\n[24-Sep-2020 08:52:08 +0000]: <a83d4mll> Recv: 220 mail.theomnihealthgroup.com ESMTP Postfix (Debian/GNU)\n[24-Sep-2020 08:52:08 +0000]: <a83d4mll> …
Run Code Online (Sandbox Code Playgroud) 我最近设置了一个由postfix
和组成的邮件服务器dovecot
。昨天我添加了nginx
和roundcube
。SPF、DKIM、DMARC、rDNS 记录全部完成。Gmail 将我的邮件视为有效邮件并将其发送到我的收件箱。一切正常。除了一件烦人的小事。
当我使用 Android 的内置 MUA 或其他 MUA 时,一切都还好。当我想使用圆形立方体发送邮件时,问题就开始了。邮件仍然经过验证并正确投递,但没有主题。不知何故,roundcube 丢失了主题字段并发送了没有主题的电子邮件。
我连续 7 个小时都在寻找答案,但似乎我是世界上唯一遇到此问题的人。这让我觉得我的服务器或配置有问题,但我对所有配置进行了四次检查,但我仍然一无所知。
任何帮助都会非常有用。在此先感谢您的时间。
我的邮件服务器在一个带有 768MB RAM 的 OpenVZ 机器上,运行 CentOS 7 Minimal。Postfix 版本:2.10.1 Dovecot 版本:2.2.10 Roundcube 版本:1.1.0
我的postconf -n
输出:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
disable_vrfy_command = yes
html_directory = no
inet_interfaces = all …
Run Code Online (Sandbox Code Playgroud) 我正在使用 Dovecot 2.2.13、Postfix 2.11.3 和 Roundcube 1.1.1 连接到它来设置邮件服务器。Roundcube 在 nginx/php-fpm 中的不同服务器上运行。两台服务器都运行带有最新更新的 Debian Jessie,并且可以互相 ping 通。来自 Roundcube 主机的 nmap 显示端口 993 已打开并可访问。此外,我似乎在正确的端口上建立了连接,但似乎无法让 Roundcube 成功连接到 Dovecot。
Dovecot 配置了在端口 993 上运行的以下 SSL 设置:
/etc/dovecot/conf.d/10-ssl.conf
ssl_protocols = TLSv1.2 TLSv1.1 TLSv1 !SSLv2 !SSLv3
ssl_cipher_list = ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES128:DH+AES:ECDH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5
Run Code Online (Sandbox Code Playgroud)
/etc/dovecot/dovecot.conf
auth_verbose=yes
auth_debug=yes
auth_debug_passwords=yes
mail_debug=yes
verbose_ssl=yes
auth_verbose_passwords=plain
Run Code Online (Sandbox Code Playgroud)
通过这些设置,我能够从 Android 邮件应用程序获得 TLS 连接并接收邮件,因此我知道 Dovecot 正在侦听并能够进行通信。Roundcube 托管在与 Dovecot 不同的服务器上,并使用以下关于 IMAPS 的设置进行配置。
$config['default_host'] = 'tls://mail.domain.tld';
$config['imap_conn_options'] => array(
'ssl' => array(
'ciphers' => 'ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES128:DH+AES:ECDH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5',
),
);
Run Code Online (Sandbox Code Playgroud)
成功登录在mail.log 中看起来像这样:
dovecot: imap-login: …
Run Code Online (Sandbox Code Playgroud) 自从在这里问这种类型的问题以来已经有一段时间了。也许推荐的解决方案已经改变。
我有一个运行 RoundCube webmail 的 CentOS 5.4 邮件服务器。默认情况下,RoundCube 需要 PHP 5.2 或更高版本。CentOS 5 停留在修订版 5.1.6 中,并从 5.2 向后移植了某些功能。我禁用了 Roundcube 的 PHP 检查,它运行良好。但是,我想使用的插件之一使用了 PHP 5.2 中引入的方法。
由于在这种情况下PHP和Postgres/MySQL的绑定,将PHP版本从5.1.6升级到5.2.x的最佳方法是什么?我见过 3rd 方存储库、CentOS 测试、Fedora ……或者我可以从源代码编译。我想让这个系统保持稳定状态,这样它就不会在下一轮更新中崩溃。
有什么建议吗?
我刚刚安装了 RoundCube php 邮件客户端。我检查了 MySQL 数据库并创建了新表,但是通过浏览器我收到以下错误:
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.
Run Code Online (Sandbox Code Playgroud)
我检查了 debian-db.php 并且登录参数是正确的,我也尝试通过终端,我可以使用这个参数连接到数据库
$dbuser='roundcube';
$dbpass='mypass';
$basepath='';
$dbname='roundcube';
$dbserver='';
$dbport='';
$dbtype='mysql';
Run Code Online (Sandbox Code Playgroud)