WebMail: roundcube的组建
来源:互联网 发布:手机淘宝领取虾米vip 编辑:程序博客网 时间:2024/05/22 15:45
一、点评:
本人参照网文http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu8.04组建了一个邮件系统,这篇文章写得非常好,组建的邮件系统功能涵盖了收、发、容量控制、病毒过滤等,可以说是一个完整的企业邮件系统,但采用的webmail即squirrelmail不行,界面非常难看,而且汉化不全,功能很少。经过网上一番搜索后决定更换成roundcube,该webmail工具界面非常漂亮,采用PHP开发语言,只是多种语言,中文支持非常完美。安装过程一波三折,整整耗费了我一天半时间,最终还是被我搞定了,且制作了修改密码的补丁(原始版本没有修改邮件密码的功能)。先看看两张截图:
二、安装:
参照http://www.howtoforge.com/virtual-users-domains-postfix-courier-mysql-squirrelmail-ubuntu8.04把发件、收件、防毒模块搭起来,后面的squirrelmail就不用安装了,然后从roundcube官方网站下载0.2-stable版本到/tmp下并执行命令:
# tar zxvf roundcubemail-0.2-stable.tar.gz
# mv roundcubemail-0.2-stable /var/www/roundcubemail.dst
---上面这条命令是把解压目录移到APACHE2的web主目录下。然后可参考其中的INSTALL文件操作。
# chown -R root:root /var/www/roundcubemail.dst
# chown -R www-data:www-data /var/www/roundcubemail.dst/temp
# chown -R www-data:www-data /var/www/roundcubemail.dst/logs
# vim /etc/apache2/sites-available/roundcubemail
NameVirtualHost *:80<VirtualHost *:80>
ServerName mail.example.com
DocumentRoot /var/www/roundcubemail.dst
Options Indexes FollowSymLinks
DirectoryIndex index.php
</VirtualHost>
# mkdir -p /var/lib/php/bin
# cp /usr/sbin/authtest /var/bin/php/bin
# vim /etc/php5/apach2/php.ini
……
……
# apache2ctl restart
然后在浏览器中输入http://mail.example.com/installer或http://localhost/installer进行配置。注意DSN的格式,如果你用的mysql是4.0以上的版本,那么采用mysqli,否则采用mysql,我的是mysql 5.0,那么最终的串是:
$rcmail_config['db_dsnw'] = 'mysqli://roundcube:123456@localhost/roundcubemail';
其他的配置:
$rcmail_config['default_charset'] = 'gbk';
$rcmail_config['language'] = 'zh_CN';
$rcmail_config['date_long'] = 'Y.m.d H:i';
配置完了(注意:配置过程中会形成两个配置文件的内容,把他们复制拷贝并分别保存到/var/www/roundcubemail.dst/config下db.inc.php和main.inc.php),把目录/var/www/roundcubemail.dst/installer删除:
# rm -rf /var/www/roundcubemail.dst/installer
然后从www.moodisk.com/download_other_c.php下载补丁roundcube-0.2-stable.patch.bz2到/tmp下并执行:
# cd /var/www/roundcubemail.dst
# bzip2 -d /tmp/roundcube-0.2-stable.patch.bz2
# patch -p1 < /tmp/roundcube-0.2-stable.patch
# patch -p1 < /tmp/roundcube-0.2-stable.patch
- WebMail: roundcube的组建
- RoundCube Webmail
- Roundcube Webmail 安装配置
- ubutun下Roundcube Webmail的安装与配置
- CENTOS5.5下使用Roundcube搭建 Webmail
- Roundcube Webmail 安装配置图文详情
- Centos6 Postfix+Dovecot+Postfixadmin+Roundcube 搭建Webmail邮件系统
- roundcube
- hMailServer+RoundCube 在windows下的配置
- 构建简单的Webmail系统
- 建一个大容量的webmail系统
- ASP.net发邮件的例程WEBMAIL
- 主页上加入Webmail的自动登陆
- VPN网络的组建
- VPN网络的组建
- 组建自己的团队
- 组建局域网的准备
- 组建局域网的准备
- socket编程原理
- 在vc中如何进行类型转换,比如把整型转换为字符串型或从字符串转换为整型
- Ext中Grid添加ToolTip
- 090724周五
- tcpdump详解
- WebMail: roundcube的组建
- PB5.0 定制平台笔记
- Linq中的SelectMany方法
- CSS中跨浏览器的inline-block实现
- 剪切板功能
- 程序调试 写log源文件类
- [DirectShow] 008 - How Hardware Devices Participate in the Filter Graph
- 开始玩Struts -入门级
- CSS在线优化工具:格式化CSS和精简CSS