• 21st 一月 2008 - By Devil

    我們公司大家都非常習慣用pop3的Client端軟體來收發郵件,

    所以Webmail的使用率真的不是很高,但少數的情況還是用的到

    最開始我們是用Openwebmail但因Mail數量龐大,Mbox ((所有郵件都存放到一個文件里,每個郵件之間以特定的標記分割))的格式實在是撐不住了

    而Openwebmail又不支援MailDir ((每一封郵件保存成一個文件,每個文件名稱一般有一定的規律)),因此更換Webmail還是必須進行的

    如果對於Mbox與Maildir的差異有興趣研究的網友們,這裡一篇對岸同胞寫的文章,很清楚喔!Mbox vs Maildir 兩者的原理和區別

    目前我們是用SquirrelMail ((OpenSource的Webmail軟體,特色有速度飛快及眾多Plugin支援)),其實我個人覺得不錯啦,只是介面有點醜

    但是公司的大頭不喜歡,我又懶懶不太想去改那個極度陽春的介面…..

    所以就找到了今天要介紹的這套RoundCube,最大的特色就是加入了部分Ajax的特性,

    如信件的搬移可用滑鼠拖曳,輸入Address的時候有自動補齊的功能等等

    缺點就是功能陽春,從目前版本號還是0.1-RC2可得窺一二,連郵件過濾與規則都沒有支援

    不過這些都被RoundCube的開發團隊納入了Planned features,所以日後還是非常可以期待的!

    使用RoundCube還有一個好處,就是安裝非常簡單、界面華麗、快速並且支援多國語言!底下為官網的ScreenShots

    mail_view_block.jpgmail_view_chinese.jpg

    mail_listing.jpgmail_compose.jpg

    identities.jpgcontacts_edit.jpg

    如果你覺得RoundCube看起來不錯用,就可以往下看安裝步驟囉!

    環境:CentOS 4.5、httpd-2.0.52-38、php-4.3.9、mysql-4.1.20-3、可運行的MailServer

    Step 1. 下載RoundCube,請連線至官網下載RoundCube最新版本

    Step 2. 解壓縮並上傳至網頁根目錄,並將logs、temp兩個資料夾給予Apache可寫入的權限

    Step 3. 建立一個資料庫準備給RoundCube使用,並匯入基本的資料表

    目前RoundCube支援以下資料庫,mssql、mysql、mysql5、postgres、sqllite

    不過我只有用Mysql、初始的資料表在SQL資料夾下,請找到Mysql用的版本

    接著按照INSTALL說明的方式匯入,或是用PhpMyadmin ((好用的資料庫管理程式-官網在這))、Webmin ((最棒的系統管理工具-官網在這))等等都可以

    # mysql
    > CREATE DATABASE roundcubemail;
    > GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost
        IDENTIFIED BY ‘password’;
    > quit
    # mysql roundcubemail < SQL/mysql.initial.sql

    Step 4. 將config資料夾下的db.inc.php.dist、main.inc.php.dist兩個檔案檔名修改為db.inc.php、main.inc.php

    Step 5. 修改db.inc.php、$rcmail_config['db_dsnw'] = ‘mysql://帳號:密碼@localhost/資料庫名稱’;

    Step 6. 修改main.inc.php,預設值也可或照你希望的修改

    Step 7. 此不可自行選擇要不要做,設置Apache的VirtualHost,編輯Apache的設定檔如下

    <VirtualHost *:80>
    ServerAdmin admin@sample.com #Admin的Mail
    DocumentRoot /var/www/html/roundcube/ #修改為你的路徑
    ServerName webmail.sample.com #設定ServerName
    ServerAlias webmail.sample.com
    AddDefaultCharset utf-8 #如果網頁伺服器編碼預設不是utf-8的話要加這行
    LanguagePriority
    </VirtualHost>

    輸入完畢,重新啟動Apache伺服器,就可以用http://webmail.sample.com連進你的RoundCube囉!

    結論:

    在500封信的時速度與SquirrelMail幾乎是感覺不出差異,在加上美美的介面,真不錯!

    如果信再增加就不曉得了,希望RoundCube能繼續開發下去,真的很令人期待

    VN:F [1.8.0_1031]
    Rating: 3.0/5 (1 vote cast)
    Ajax介面的WebMail - RoundCube3.051
    與大家分享
    • Print
    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • Hemidemi
    • MyShare
    • email
    • RSS
    • Twitter
    • Live
    • MySpace
  • 11 Responses to “Ajax介面的WebMail – RoundCube”

    • [...] MailDir從這裡看到的:http://www.mamu.com.tw/blog/index.php/2008/01/21/ajax%e4%bb%8b%e9%9d%a2%e7%9a%84webmail-roundcube/官方網頁:http://roundcube.net/ 作者 Dante Mason 發佈於 工程師筆記本 時間 03:15 [...]

    • 看起來很不錯的 ajax webmail – RoundCube Webmail…

      支援以下資料庫,mssql、mysql、mysql5、postgres、sqllite支援 MailDir從這裡看到的:這裡官方網頁:http://roundcube.net/

      UN:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UN:F [1.8.0_1031]
      Rating: 0 (from 0 votes)
    • msjc on 六月 29, 2008

      受益匪淺哦
      交個朋友吧

      UN:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UN:F [1.8.0_1031]
      Rating: 0 (from 0 votes)
    • msjc on 六月 29, 2008

      以後還請多多指教

      UN:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UN:F [1.8.0_1031]
      Rating: 0 (from 0 votes)
    • Devil on 六月 29, 2008

      不用客氣~歡迎留言一起討論喔!

      UA:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UA:A [1.8.0_1031]
      Rating: 0 (from 0 votes)
    • 暮色今晨 on 七月 6, 2008

      我在虚拟主机上安装时
      出错了
      magic_quotes_gpc: NOT OK(is ‘1′, should be ‘0′)
      服务商不给改
      郁闷哦

      UN:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UN:F [1.8.0_1031]
      Rating: 0 (from 0 votes)
    • Devil on 七月 7, 2008

      不知道如果.htaccess可以用的話

      下php_flag magic_quotes_gpc off

      這樣可不可以!

      這位朋友試試看吧,如果可以回覆一下喔!

      UA:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UA:A [1.8.0_1031]
      Rating: 0 (from 0 votes)
    • 请帮忙说说 on 二月 13, 2009

      我按照你的方法安装调试成功了,但是最后我进入界面后,标题都是正常的,就是有一些文字就成了乱码。能请你详细点给我解答一下!非常感谢!

      UN:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UN:F [1.8.0_1031]
      Rating: 0 (from 0 votes)
    • 訪客 on 三月 17, 2009

      您好,我的安装了之后在进入安装界面时候出现了下面这个错误提示:

      Parse error: parse error, unexpected T_OBJECT_OPERATOR in /var/www/html/roundcubemail-0.2.1/program/include/rcube_shared.inc on line 549

      请问这是哪里出错了呢?谢谢!

      UN:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UN:F [1.8.0_1031]
      Rating: 0 (from 0 votes)
    • 訪客 on 四月 22, 2009

      您好我有個疑問為什麼我架起來的Webmail – Roundcube畫面有夠醜的..而您的圖片是如此的漂亮…我是抓官網上面roundcubemail-0.2.1.tar.gz 這一個,難道是我抓錯個了嗎?

      UN:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UN:F [1.8.0_1031]
      Rating: 0 (from 0 votes)
    • chingson on 十一月 6, 2009

      Now my roundcube is running with 5G dbmail-imap & mysql
      in a VM …
      只可惜有些 skin 不支援中文, 不然會更 COOL
      now 0.3.1 is very cool now.

      Password plugin is also easy modified to dbmail..
      I am trying the dbmail-sieve..

      UN:F [1.8.0_1031]
      Rating: 0.0/5 (0 votes cast)
      UN:F [1.8.0_1031]
      Rating: 0 (from 0 votes)

    Leave a Reply


Ad