第一步肯定是要部署试用下。
<a href="http://www.iredmail.com/" target="_blank">通过官网了解iRedMail;</a>
<a href="http://www.iredmail.com/download.html" target="_blank">下载最新的release包;</a>
选择相应的linux发行版(我选的是CentOS),需要注意的:
最好保证linux系统是纯净的,我的系统就因为已经装了MySQL导致安装失败。
由于iredmail.org的域名被墙,请将iRedMail-x.y.z/pkgs/get_all.sh中的iredmail.org执行全局替换为IP地址,shell命令 %s/iredmail.org/173.254.22.21/g 。
安装成功后会有如下提示
URLs of installed web applications: * - Webmail: https://mail.yw.com/mail/ - Admin Panel (iRedAdmin): https://mail.yw.com/iredadmin/ + Username: [email protected], Password: yaowei * Congratulations, mail server setup completed successfully. Please read below file for more information: * - /root/iRedMail-0.8.4/iRedMail.tips * And it's sent to your mail account [email protected]. * Please reboot your system to enable mail services. *
其中 https://mail.yw.com/iredadmin/ 为管理平台页面,可以在其中对邮件系统进行监控、设置、添加用户...
<a target="_blank" href="http://blog.51cto.com/attachment/201306/213039997.jpg"></a>
https://mail.yw.com/mail/就是自己的邮件页面了,很舒服简洁的界面,可以试操作给他人发个邮件。
<a target="_blank" href="http://blog.51cto.com/attachment/201306/213130352.jpg"></a>
我们上面说要按业务改造为自己的邮件系统,那肯定是要改动源码的。开始我还有个误解以为整个邮件系统都是iRedMail的作者写的,最后看到源码后才知道iRedMail的作者写的是iredadmin这个管理端(作者是个中国同胞:张煌彬。非常感谢他,也希望国产开源越来越好),使用的是web.py框架。
本文转自永远的朋友博客51CTO博客,原文链接http://blog.51cto.com/yaocoder/1227197如需转载请自行联系原作者
yaocoder