2008年9月25日 星期四

Debian squirrelmail安裝

  • 安裝squirrel

    debian~:# apt-get install squirrelmail
    debian~:# apt-get install squirrelmail-locales
    debian~:# apt-get install squirrelmail-decode

  • 安裝dovecot套件

    debian~:# apt-get install dovecot-pop3d dovecot-imapd dovecot-common

  • 設定dovecot.conf

    debian:~# vi /etc/dovecot/dovecot.conf

    fix

    protocols = imap pop3



    save and restart

    debian:~# chmod 755 /var/run/dovecot
    debian:~# /etc/init.d/dovecot restart

  • 設定squirrelmail

    debian:~# cp /etc/squirrelmail/apache.conf /etc/apache2/sites-enabled/squirrel.conf
    debian:~# /etc/init.d/apache2 restart
    debian:~# /etc/squirrelmail/conf.pl

    select 10.language

    set

    1. Default Language : zh_TW
    2. Default Charset : UTF-8

    save

  • 開啟瀏覽器輸入http://www.myurl.org/squirrelmail

  • 如果無法中文化

    debian:~# vi /usr/share/squirrelmail/functions/i18n.php

    fix

    $languages['zh_TW']['CHARSET'] = 'big5';
    $languages['zh_TW']['LOCALE'] = 'zh_TW.BIG5';

    to

    $languages['zh_TW']['CHARSET'] = 'UTF-8';
    $languages['zh_TW']['LOCALE'] = 'zh_TW.UTF-8';

沒有留言: