2007年02月14日
■ squirrelmai バーチャルドメイン対応
squirrelmai バーチャルドメイン対応
Virtual Host Domain Name Managementインストール
[root@fedora ~]# wget http://www.squirrelmail.org/countdl.php?fileurl=http%3A%2F%2Fwww.squirrelmail.org%2Fplugins%2Fvirtual_hosts-1.0.tar.gz
← Virtual Host Domain Name Managementダウンロード
[root@fedora]# cd /usr/share/squirrelmail/plugins/ ← SquirrelMailプラグインディレクトリへ移動
[root@linux plugins]# tar zxvf /root/virtual_hosts-1.0.tar.gz ← ダウンロードしたファイルを解凍
virtual_hosts/
virtual_hosts/readme.txt
virtual_hosts/index.php
virtual_hosts/INSTALL
virtual_hosts/setup.php
[root@linux plugins]# rm -f /root/virtual_hosts-1.0.tar.gz ← ダウンロードしたファイルを削除
[root@linux plugins]# /usr/share/squirrelmail/config/conf.pl ← SquirrelMail設定スクリプト実行
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 (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 Quit
Command >> 8 ← Plugins選択
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Plugins
Installed Plugins
*****
*****
****
R Return to Main Menu
C. Turn color off
S Save data
Q Quit
Command >> 11 ← virtual_hostsの番号を選択(番号は環境によって異なる)
SquirrelMail Configuration : Read: config.php (1.4.0)
---------------------------------------------------------
Plugins
Installed Plugins
*****
*****
****
R Return to Main Menu
C. Turn color off
S Save data
Q Quit
Command >> q ← q応答(設定スクリプト終了)
You have not saved your data.
Save? [Y/n]: y ← y応答(設定保存)
Data 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!
■Apache設定
https://example.dip.jp/webmail/(https=SSL)でアクセスできるようにする。
[root@linux ~]# vi /etc/httpd/conf.d/ssl.conf ← WebサーバーSSL設定ファイル編集
# Per-Server Logging:
# The home of a custom SSL log file. Use this when you want a
# compact non-error SSL logfile on a virtual host basis.
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
投稿者 38muko : 2007年02月14日 13:56
トラックバック
このエントリーのトラックバックURL:
http://jp-kaigo.com/cgi/mt-tb.cgi/9