SquirrelMail インストール本ページは 2011-07-12 更新されました
ソースの入手 インストール バグ修正 attachディレクトリ作成 squirrelmail 日本語化 squirrelmail 基本設定 squirrelmail プラグイン設定 configtest 設定
ソースの入手 # cd /usr/local/src3 SquirrelMail 本体のソースを入手(念の為、入手していますが利用していません)
# wget http://sourceforge.net/projects/squirrelmail/files/stable/1.4.21/squirrelmail-1.4.21.tar.bz2 SquirrelMail 日本語用ソースを入手
# wget http://www.yamaai-tech.com/~masato/Download/squirrelmail-1.4.20-ja-20100310.tar.gz SquirrelMail 日本語表示用ソースを入手
# wget http://sourceforge.net/projects/squirrelmail/files/locales/1.4.9-20070106/ja_JP-1.4.9-20070106.tar.gz/
インストール # mkdir /usr/share/squirrelmail # tar xvf squirrelmail-1.4.20-ja-20100310.tar.gz # mv ./squirrelmail-1.4.20-ja/* /usr/share/squirrelmail # cd /usr/share/squirrelmail # chmod 730 data # chown -R apache:apache data # vi /usr/share/squirrelmail/functions/imap_search.php
if (strtoupper($languages[$squirrelmail_language]['CHARSET'] == 'ISO-2022-JP')) { $multi_search[$idx] = mb_convert_encoding($search_parth, 'JIS', 'auto');の各行を以下の各行に置き換えます。if (strtoupper($languages[$squirrelmail_language]['CHARSET']) == 'ISO-2022-JP') { $multi_search[$idx] = mb_convert_encoding($search_part, 'JIS', 'auto');
# mkdir /var/tmp/attach # chgrp -R apache /var/tmp/attach # chmod 730 /var/tmp/attach
# cp /usr/local/src/ja_JP-1.4.9-20070106.tar.gz /usr/share/squirrelmail # tar zxf ja_JP-1.4.9-20070106.tar.gz # cd po # ./compilepo ja_JP
以下のコマンドを実行します。# cd /usr/share/squirrelmail # ./configure
プラグイン間の互換性、新旧バージョンのを互換性を維持する compatibility プラグインを設定します。# wget http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrelmail.org%2Fplugins%2Fcompatibility-2.0.16-1.0.tar.gz # cd /usr/share/squirrelmail/plugins/ # tar zxvf /usr/local/src/compatibility-2.0.16-1.0.tar.gz # /usr/share/squirrelmail/config/conf.plSquirrelMail 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 QuitCommand >> 8SquirrelMail Configuration : Read: config.php (1.4.0) --------------------------------------------------------- Plugins Installed Plugins 1. vlogin Available Plugins: 2. administrator 3. bug_report 4. calendar 5. compatibility 6. delete_move_next 7. demo 8. filters 9. fortune 10. info 11. listcommands 12. mail_fetch 13. message_details 14. newmail 15. sent_subfolders 16. spamcop 17. squirrelspell 18. test 19. translate 20. virtual_hosts R Return to Main Menu C Turn color on S Save data Q QuitCommand >> 5compatibility の 5 を入力します。(番号は状態により異なります)SquirrelMail Configuration : Read: config.php (1.4.0) --------------------------------------------------------- Plugins Installed Plugins 1. vlogin 2. compatibility Available Plugins: 3. administrator 4. bug_report 5. calendar 6. delete_move_next 7. demo 8. filters 9. fortune 10. info 11. listcommands 12. mail_fetch 13. message_details 14. newmail 15. sent_subfolders 16. spamcop 17. squirrelspell 18. test 19. translate 20. virtual_hosts R Return to Main Menu C Turn color on S Save data Q QuitCommand >> qYou have not saved your data.Save? [Y/n]: yData saved in config.php Exiting conf.pl. You might want to test your configuration by browsing to http://your-squirrelmail-location/src/configtest.php Happy SquirrelMailing!VirtualHost での利用を可能にする virtual_hosts プラグインを設定します。# wget http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrelmail.org%2Fplugins%2Fvirtual_hosts-1.0.tar.gz # cd /usr/share/squirrelmail/plugins/ # tar zxvf /usr/local/src/virtual_hosts-1.0.tar.gz # /usr/share/squirrelmail/config/conf.plSquirrelMail 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 (LDAP) 7. Message of the Day (MOTD) 8. Plugins 9. Database D. Set pre-defined settings for specific IMAP servers C. Turn color off S Save data Q QuitCommand >> 8SquirrelMail Configuration : Read: config.php (1.4.0) --------------------------------------------------------- Plugins Installed Plugins 1. delete_move_next 2. squirrelspell 3. newmail 4. empty_trash 5. compatibility 6. change_passwd 7. chg_sasl_passwd Available Plugins: 8. message_details 9. info 10. administrator 11. translate 12. bug_report 13. virtual_hosts 14. sent_subfolders 15. mail_fetch 16. fortune 17. listcommands 18. calendar 19. filters 20. abook_take 21. spamcop R Return to Main Menu C. Turn color off S Save data Q QuitCommand >> 13virtual_hosts の 13を入力します。(番号は状態により異なります)SquirrelMail Configuration : Read: config.php (1.4.0) --------------------------------------------------------- Plugins Installed Plugins 1. delete_move_next 2. squirrelspell 3. newmail 4. empty_trash 5. compatibility 6. change_passwd 7. chg_sasl_passwd 8. virtual_hosts Available Plugins: 9. message_details 10. info 11. administrator 12. translate 13. bug_report 14. sent_subfolders 15. mail_fetch 16. fortune 17. listcommands 18. calendar 19. filters 20. abook_take 21. spamcop R Return to Main Menu C. Turn color off S Save data Q QuitCommand >> qYou have not saved your data.Save? [Y/n]: yData saved in config.php Exiting conf.pl. You might want to test your configuration by browsing to http://your-squirrelmail-location/src/configtest.php Happy SquirrelMailing! 正しくインストールされたことを確認する準備として httpd.conf に以下の記述を加え、エイリアス設定を行います。Alias /webmail /usr/share/squirrelmail <Directory "/webmail"> Order allow,deny Allow from all </Directory> Email: support@speedex.ne.jp
|