Squirrelmailの設定
Squirrelmail 1.4.9a-ja-20070405の設定メモ
SquirrelmailのInstall
日本語Patchが適用された最新版を以下からダウンロード
wget http://www.yamaai-tech.com/~masato/Download/squirrelmail-1.4.9a-ja-20070405.tar.gz
tar zxvf squirrelmail-1.4.9a-ja-20070405.tar.gz
Install先へ保存
mv squirrelmail-1.4.9a-ja /usr/share/squirrelmail
attachフォルダを作成
mkdir /var/spool/squirrelmail/attach
chown -R apache:apache /var/spool/squirrelmail/attach/
chmod 730 /var/spool/squirrelmail/attach
DATAフォルダを作成
mkdir /var/lib/squirrelmail/prefs
chmod 730 /var/lib/squirrelmail/prefs/
chown -R apache:apache /var/lib/squirrelmail/prefs/
Aliasを作成
vi /etc/httpd/conf.d/squirrelmail.conf より以下の内容のファイルを生成
Alias /webmail /usr/share/squirrelmail
Localesの設定
wget http://jaist.dl.sourceforge.net/sourceforge/squirrelmail/all_locales-1.4.9-20070106.tar.gz
mkdir all_locales
mv all_locales-1.4.9-20070106.tar.gz ./all_locales
cd ./all_locales
tar zxvf all_locales-1.4.9-20070106.tar.gz
LocalesのInstall
rm -rf /usr/share/squirrelmail/help/解凍したフォルダ内のinstallファイルを強制的に上書きするよう編集
vi ./install
”cp -i”部分の -i オプションをすべて削除その後実行
./install
Please enter path to your squirrelmail installation:
SquirrelMailがInstallされているフォルダを指定 : /usr/share/squirrelmail
cd /usr/share/squirrelmail/po <=ディレクトリ移動
./compilepo ja_JP
SquirrelMailの設定
/usr/share/squirrelmail/configureを実行します。
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Main Menu --
1. Organization Preferences
2. Server Settings
3. Folder Defaults
4. General Options
5. Themes
6. Address Books
7. Message of the Day (MOTD)
8. Plugins
9. Database
10. Languages
D. Set pre-defined settings for specific IMAP servers
C Turn color on
S Save data
Q Quit
1. Organization Preferencesを設定
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Organization Preferences
1. Organization Name : Kawawin WebMail
2. Organization Logo : ../images/sm_logo.png
3. Org. Logo Width/Height : (308/111)
4. Organization Title : SquirrelMail $version
5. Signout Page : /webmail
6. Top Frame : _top
7. Provider link : http://www.squirrelmail.org/
8. Provider name : SquirrelMail2. Server Settingsの設定
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Server Settings
General
-------
1. Domain : kawawin.dyndns.org
2. Invert Time : false
3. Sendmail or SMTP : SMTP4. General Optionsの設定
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
General Options
1. Data Directory : /var/lib/squirrelmail/prefs/
2. Attachment Directory : /var/spool/squirrelmail/attach/
3. Directory Hash Level : 0
4. Default Left Size : 150
5. Usernames in Lowercase : false
6. Allow use of priority : true
7. Hide SM attributions : true
8. Allow use of receipts : true
9. Allow editing of identity : true
Allow editing of name : true
Remove username from header : false
10. Allow server thread sort : false
11. Allow server-side sorting : false
12. Allow server charset search : true
13. Enable UID support : true
14. PHP session name : SQMSESSID
15. Location base :10. Languagesの設定
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Language preferences
1. Default Language : ja_JP
2. Default Charset : iso-2022-jp
3. Enable lossy encoding : false



