天天看點

開源郵件系統的考察與部署

第一步肯定是要部署試用下。

<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