squirrelmail

インストール

  • 展開
    • tar zxvf squirrelmail-1.4.13.tar.gz
    • mkdir all_locales-1.4.13-20071220
    • cd all_locales-1.4.13-20071220
    • tar zxvf ../all_locales-1.4.13-20071220.tar.gz
    • cd ..
      • 言語パッケージはカレントディレクトリに回答しようとするので、
        ディレクトリを掘ります。
    • tar zxvf squirrelmail-decode-1.2.tar.gz
  • 日本語対応
    • /bin/cp -rv all_locales-1.4.13-20071220locale/ squirrelmail-1.4.13/
    • /bin/cp -rv all_locales-1.4.13-20071220/help/ squirrelmail-1.4.13/
    • /bin/cp -rv all_locales-1.4.13-20071220/images/ squirrelmail-1.4.13/
    • cp eastasia/*.php squirrelmail-1.4.13/functions/decode
    • cp x-mac/*.php squirrelmail-1.4.13/functions/decode
  • データディレクトリを閲覧制限
    • cp squirrelmail-1.4.13/data/.htaccess squirrelmail-1.4.13/attach/
  • 設定
    • cp config/config_default.php config/config.php
    • vi config/config.php(変更点のみ)
      $data_dir = '/home/jamfunk/public_html/squirrelmail/data/';
      $attachment_dir = '/home/jamfunk/public_html/squirrelmail/attach/';
      $squirrelmail_default_language = 'ja_JP';
  • 配置
    • mv squirrelmail-1.4.13/ /home/jamfunk/public_html/squirrelmail

Tips

  • 個人設定のデフォルトを変更する
    • 一人ひな形とするユーザでログインする
    • 設定する
    • squirrelmailのdataディレクトリに "アカウント名.pref" があるので、
      data/default_pref に上書きコピーする。