close

※openwebmail 安裝

  1. 下載軟體
    http://www.openwebmail.org/
  2. 解壓縮並移動目錄

    tar  -zxvf  openwebmail.*

    mv  data/openwebmail  /srv/www/htdocs/

    mv  cgi-bin/openwebmail  /srv/www/cgi-bin/


    image
  3. 確定Apache 有安裝
    rpm   -q  apache2
  4. 將 suidperl  改為 4755

    vi  /etc/permissions

    /usr/bin/suidperl  root:root    4755

    image

    SuSeconfig

    image

    註:SuSeconfig 在執行時會檢查 /etc/permissions  內的設定,將不符合的權限改為permissions
             內的權限
  5. 修正程式
    cd  /srv/www/cgi-bin/openwebmail/misc/tools/wropsuid

    perl wrapsuid.pl  /srv/www/cgi-bin/openwebmail

    image 
  6. 安裝Text-Iconv  (outoinstall.plesk.com/ps48/…
    rpm –ivh 
  7. 修改 /srv/www/cgi-bin/openwebmail/etc/openwebmail.conf

    修改前:
    image

    修改後:
    image
  8. 修改資料庫設定
    image
    /srv/www/cgi-bin/openwebmail/openwebmail-tool.pl  --init

    image

    vi  /srv/www/cgi-bin/openwebmail/etc/dbm.conf

    dbm_ext        .pag
    dbmmopen_ext         none
    dbmopen_haslock     no


    srv/www/cgi-bin/openwebmail/openwebmail-tool.pl  --init
    image
    設定密碼檔

    image 
    image 
    設定完成即可正常登入
    ※簡化登入路徑
  1. 修改全伺服器設定
    vi  /etc/apache2/default-server.conf
    加入  ScriptAlias  mail   “srv/www/cgi-bin/openwebmail/openwebmail.pl”
    image 
  2. 重新啟動Apache
    service apache2 restart
  3. 測試網頁
    image
arrow
arrow
    全站熱搜

    奔騰兔 發表在 痞客邦 留言(0) 人氣()