キーワード  

B-CITYでHDDを購入すれば
FreeBSDがインストール済み
あなたのマシンにつけるだけ


☆ カテゴリー ☆
  序章
  動作環境
  インストール
  設定
  Webminでの設定
  チューニング
  ウィンドウシステム
  ウィンドウマネージャー
  スクリプト言語
  システム管理
  デスクトップアプリケーション
  サーバーサイドアプリケーション
  コマンド
  印刷
  シェル・シェルスクリプト
  落書き
  備考
  HD-BSD
  基本操作
  自宅サーバー
  sqwebmail
   戻る


sqwebmail

外国旅行に日本のテレビを連れて行こう。

ネット環境さえあれば、どこからでも テレビが見えます。

観るだけでなく 録る 操る 操作する

 新しい 生活が始まる!!

     ロケーションフリー



・・・管理モードON・・・

サーバーサイドアプリケーション

sqwebmail

# cd /usr/ports/mail/sqwebmail

# make install clean




Add the following line to your /etc/crontab to make sure the
sqwebmail cache directory gets cleaned up.
0 * * * * bin /usr/local/share/sqwebmail/cleancache.pl

===> Installing rc.d startup script(s)
===> Compressing manual pages for sqwebmail-5.2.0
===> Registering installation for sqwebmail-5.2.0
===> SECURITY REPORT:
This port has installed the following binaries which execute with
increased privileges.
/usr/local/libexec/sqwebmail/sqwebpasswd

This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/sqwebmail/sqwebmaild
/usr/local/libexec/sqwebmail/pcpd

This port has installed the following startup scripts which may cause
these network services to be started at boot time.
/usr/local/etc/rc.d/sqwebmail-sqwebmaild

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.

For more information, and contact details about the security
status of this software, see the following webpage:
http://inter7.com/sqwebmail/


下記にインストールされる
/usr/local/www/data-dist/sqwebmail
/usr/local/www/cgi-bin-dist/sqwebmail


# ee /etc/rc.conf

sqwebmaild_enable="YES"




# ee /usr/local/etc/apache2/httpd.conf

Alias /webmail /usr/local/sqwebmail/htdocs/
ScriptAlias /cgi-bin /usr/local/sqwebmail/cgi-bin/



/usr/local/www/cgi-bin-dist/sqwebmail/sqwebmail


Alias /sqwebmail/ "/usr/local/www/cgi-bin-dist/sqwebmail/sqwebmail"

Options -Indexes +FollowSymlinks +ExecCGI
AllowOverride ALL
Order allow,deny
Allow from all









■ブラウザからのテスト
ブラウザでSqWebMailのCGIを呼び出すだけです。

ブラウザの設定は日本語が優先になるよう設定しておかないと文字化けすることがあります。

   http://www.xxxxx/cgi-bin/sqwebmail

意図的に、httpでアクセスしても、httpsにrewriteされますので、

不用意に素でアクセスしてしまうこともありません。いろいろ試験してみましょう。

なお、日付が文字化けする場合は、下記でLOCALEの内容を「ja_JP」から「en_US」にすると直るようです。

 # vi /usr/local/share/sqwebmail/html/ja-jp/LOCALE
 ja_JP -> en_US

SqWebMailを使用し始めたところ、configure時にオプション(--disable-autorenamesent)をつけたはずなのに送信済みフォルダ内のメール本文が消えてしまう現象が発生しました。調査したところ、WWWサーバとしてApacheを利用している場合は、更にApache側に設定が必要なことが判明し、下記をhttpd.confに追加しました。これを設定しないと、移動されてしてしまいます。

  SetEnv SQWEBMAIL_AUTORENAMESENT no




☆☆☆☆☆   こんな記事もあります。   ☆☆☆☆☆

ImageMagick のインストール
GD のインストール
ilohamail の インストール
oscommerce を インストールする
eccube の インストール
PortSentryを利用した不正アクセス防止策
sqwebmail
SquirrelMail
インプレッション         インプレッションを書く

Copyright 2006B-CITY. All rights reserved.