2007年02月12日
 ■  webメールを構築する squirrelmail

webメールを構築する squirrelmailと必要なphp関連をインストール yum install squirrelmail php php-mbstring gedit /etc/httpd/conf.d/squirrelmail.conf 以下の設定をファイルの末尾に設定します。 SSLRequireSSL 設定が終わったらファイルを保存 管理→サービス→httpd を再起動 セキュリティレベルで SELinux ポリシー修正 httpdサービスの「ネットワークに接続するためにHTTPDスクリプトとモジュールを許可する」にチェツクしてOK /usr/share/squirrelmail/config/conf.pl を実行 最初 文字を黒くするため Command>> c 利用する言語を日本語に Command>> 10 言語の設定 Command>> 1 日本語を利用する Command>> ja_JP メニューに戻る Command>> r ドメイン設定をする Command>> 2 メールで利用するドメインを設定 Command>> 1 ドメイン名を書き込む [localhost]: ****.com 設定をセーブする Command>> s 終了 Command>> q ブラウザを立ち上げ確認 https://localhost/wwebmail/ https://****.com/wwebmail/

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

 conf.plのServer Settingsの設定を下記のように変更 --------------------------------------------------------- Server Settings General ------- 1. Domain : ドメイン 2. Invert Time : false 3. Sendmail or SMTP : SMTP A. Update IMAP Settings : www.hokuo-photo.jp:143 (other) B. Update SMTP Settings : www.hokuo-photo.jp:25 R Return to Main Menu C Turn color on S Save data Q Quit ----------------------------------------------------------- localhost→FQDN名(ホスト名.ドメイン)に変更することによって解決。

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

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" RewriteEngine On RewriteLog "logs/rewrite_log" RewriteLogLevel 0 RewriteCond %{HTTP_HOST} !fedorasrv.com$ RewriteCond %{REQUEST_URI} !^/webmail/ ← 追加 RewriteRule ^/(.*)?$ http://%{HTTP_HOST}/$1 [L,R] [root@fedora ~]# /etc/rc.d/init.d/httpd restart ← Apache再起動 httpd を停止中: [ OK ] httpd を起動中: [ OK ]

投稿者 38muko : 2007年02月12日 14:12

トラックバック

このエントリーのトラックバックURL:
http://jp-kaigo.com/cgi/mt-tb.cgi/8

コメント

コメントしてください




保存しますか?

(書式を変更するような一部のHTMLタグを使うことができます)

2007年02月12日 14:12に投稿されたエントリーのページです。

ひとつ前の投稿は「メールサーバー設定」です。

次の投稿は「squirrelmai バーチャルドメイン対応」です。

他にも多くのエントリーがあります。メインページアーカイブページも見てください。

リンク集
東京
Google検索
About Japan
オーラ岩盤浴マット
日本ハムファイターズ
ダーツ
大成建設
ツインエレナイザー
国立国会図書館
沖縄県
歌舞伎座
東京地裁
松本さんのブログ
免疫の力
東京タワー
きみのさんのブログ
東京ディズニーシー
海からの便り
ざわめく心
自然の力
高知
マックさんのブログ
ミックのパワーブログ
東京大学
Google
ペットフード
アットnifty
ヒルズ サイエンスダイエット
ヒルズ サイエンスダイエットプロ
「舜」アットnifty
アイムス
天気予報
ロイヤルカナン
手前味噌ブログ
ユーカヌバ
NHKオンライン
森乳スーパーゴールド
文部省
ペット犬 猫 口臭 歯磨きハブラシ
ドッグフード
教育基本法について
サイエンスダイエット ドッグフード
日刊!テリー伊藤の痛快スポーツニュース
サイエンスダイエット プロ
気象庁
ヒルズ サイエンスダイエットプロ ドッグフード
健康と安全
翻訳アットnifty
アップル
流れるままに
Google マップ
キャットスパ
KDDI
アイムス ドッグフード
厚生省
スーパーなできごと
名前は哲也
厚生省健康
ローヤルアイム
子供の心
アットnifty「辞書」
ロイヤルカナン ドッグフード
About Japan
ユーカヌバ ドッグフード
ペット犬 猫 口臭予防スプレー 歯磨きハブラシ
豆乳クッキー
日本の Linux 情報
マックスターボ
免疫
AHCC
スーパーなできごと
オリゴノール
国立競技場
骨髄バンクドナー登録
骨髄移植推進財団
ビューティーローズ
ビューティローズ
手前味噌ブログ
松本さんのブログ
セプテム
ペットフード
ドッグフード
日系ネット
歌舞伎座
ダイエットコム
shop-diet.com
任天堂
フェロモン香水
子供の心
がんセンター
マックさんのブログ
中村堂ゼラチンパウダー
KDDI
禁煙草
エキサイト翻訳
All About
黄金宮
東京
流れるままに
ローヤルアイム
Google Earth
JR東日本
ターボセル
豆乳クッキー ダイエット
日本航空
アットnifty
アップル
RSSfeed7
ダイエットコム
DS-60 即効性スリミング美容液
k-1サウナスーツ
スーパーボウス ダイエット
SUPER BOWS DIET
スーパーボウス
美整体 骨盤ステッパー
フラコラ500
アルガンオイル
ベビーフット
ベビーフット キット
けやきラーメン
欅ラーメン
蘭たん亭 カレーラーメン 室蘭
銀波露 ぎんぱろうラーメン
いびき 治療
いびき防止
いびき対策
外反母趾 (がいはんぼし)治療 靴 病院や手術に頼ることなくサポーター対策
ダイエット食品
S LINE MAX エスラインマックス
RSSfeed8
サッカー - nikkansports.com
我那覇が仲裁を要望「一生後悔する」
J1復帰へ京都が「山ごもり」
浦和鈴木はキックオフからフル回転宣言
J2福岡が小林チーム統括部長を解任