|
SquirrelMail
|
|
|
|
|
|
|
サーバーサイドアプリケーション
|
|
|
SquirrelMail
|
| |
|
|
|
|
|
cd /usr/ports/mail/squirrelmail make install
You now need to add an alias to apache's httpd.conf pointing to /usr/local/www/squirrelmail in order to access SquirrelMail from your web browser, or create a VirtualHost with DocumentRoot set to that directory.
For SquirrelMail to work properly you will need to make sure the following option is set in your php.ini file: file_uploads = On
If you have problems with SquirrelMail saying "you must login" after you just have, the following php.ini option may help: session.auto_start = 1
In order to do your administrative configuration you need to cd /usr/local/www/squirrelmail && ./configure SquirrelMail will not work until this has been done.
squirrelmail の設定。
cd /usr/local/www/squirrelmail ./configure
- Default Language --> ja_JP - Domain の変更 - IMAP server --> courier - Default Charset --> EUC-JP
php.ini を修正
cp /usr/local/etc/php.ini-dist /usr/local/etc/php.ini vi /usr/local/etc/php.ini --- session.auto_start = 1 session.bug_compat_42 = 0 mbstring.language = Japanese mbstring.internal_encoding = EUC-JP mbstring.http_input = auto mbstring.http_output = EUC-JP
apache の設定に追加。Includes ディレクトリに追記。
vi /usr/local/etc/apache2/Includes/squirrelmail.conf --- Alias /webmail/ "/usr/local/www/squirrelmail/" AllowOverride All Options None Order allow,deny Allow from all
DirectoryIndex index.php
さくっと動いた。
|
|
|