| # cd /var/www # tar zxvf /tmp/squirrelmail-1.4.3-ja-20040531.tar.gz <---展開 # mv squirrelmail-1.4.3-ja webmail <----アクセスしやすい名前に変更 # cd webmail # zcat /tmp/squirrelmail-1.4.3-ja-20040531-patch.gz | patch -p1 <----パッチを当てる # cd po # ./compilepo ja_JP <-----日本語対応にする(ここでエラーになったら下の※2) # cd ../ # chmod 730 data/ <----dataディレクトリのパーミッション変更 # chown -R www-data:www-data data <----dataディレクトリのオーナ変更※1 |
| <Directory
"/var/www/webmail"> AllowOverride Limit </Directory> |
| # cd /var/www/webmail # ./configure |
| SquirrelMail Configuration
: Read: config_default.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 on S Save data Q Quit Command >> 1 |
|
# Options Indexes Includes FollowSymLinks MultiViews Options Indexes Includes FollowSymLinks MultiViews ExecCGI |
| #AddHandler
cgi-script .cgi .sh .pl AddHandler cgi-script .cgi .sh .pl |
| #LoadModule
includes_module /usr/lib/apache/1.3/mod_include.so LoadModule includes_module /usr/lib/apache/1.3/mod_include.so |
| #AddType text/html
.shtml #AddHandler server-parsed .shtml AddType text/html .shtml AddHandler server-parsed .shtml |
| # LoadModule
php4_module /usr/lib/apache/1.3/libphp4.so LoadModule php4_module /usr/lib/apache/1.3/libphp4.so |
| <IfModule
mod_dir.c> DirectoryIndex index.html index.htm index.php woody.shtml index.cgi </IfModule> |
| #
AddDefaultCharset on AddDefaultCharset off |
| <Directory
"/var/www/webmail"> AllowOverride Limit </Directory> |
| # /etc/init.d/apache
restart # /etc/init.d/apache-ssl restart |
| https://ドメイン/webmail/ |