IceWarp-Japan(韓国のIceWarp代理店の日本支社らしい)から必要なものをダウンロード。
http://icewarp-japan.com/
linux用は以下のドキュメントをダウンロードして読む。
依存ライブラリが多いので、必ず目を通す。
http://www.icewarp.co.kr/downloads/documentation/linuxquick-doc.zip
以下作業。
- # cd download/
- # wget http://www.icewarp.com/download/linux/rh5/IceWarpServer-10.0.6_RHEL5.4.tar.gz
root以外で動作させる場合にはユーザを作成
- # adduser icewarp
依存ライブラリの存在チェック
- # updatedb
- # locate libc.so.6
- # locate libpthread.so.0
- # locate libpcre.so
などなど…
ドキュメントに含まれる依存ライブラリリストを確認して必要なものを追加する。
- # yum install openldap openldap-devel libcap libcap-devel db4
libiconvの追加
- # yum install gcc make(必要に応じて)
- # wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz
- # tar zxvf libiconv-1.13.1.tar.gz
- # cd libiconv-1.13.1
- # ./configure
- # make
- # make install
IceWarp Serverのインストール
- # tar zxvf IceWarpServer-10.0.6_RHEL5.4.tar.gz
- # cd IceWarpServer-10.0.6_RHEL5.4
- # ./install.sh
EULAが出てくるので、ウィザードに従って設定する
- ** You must accept this license agreement if you want to continue.
- ** Press ENTER to accept license or CTRL+C to quit ←エンターキー
- ** Please make sure the IceWarp Mail Server is not running before installing.
- ** Press ENTER to continue, CTRL+C to quit ←エンターキー
- ** Installation/Upgrade mode entered
- **
- ** Installation prefix [/opt/icewarp]:
- ** Performing new install
- ** Run services as user [root]: ←root以外にするなら作成したユーザで
- ** Run services as group [root]:
- **
- ** Please check entered informations before continuing:
- **
- ** Installation prefix: /opt/icewarp (directory will be created)
- ** Services will run as user: root
- ** Services will run as group: root
- **
- ** Press ENTER to continue, CTRL+C to quit ←エンターキー
- ** Creating /opt/icewarp directory
- ** Extracting distribution
- ** Please wait...
- ** Checking for previous 'merak' service installation ...
- ** Checking if IceWarp Server is added as system service ...
- ** Note: System service can be reinstalled
- ** by removing already installed service.
- **
- ** Do you want to add IceWarp Server as a system service? [Y/n]: y ←サービスとして起動するか
- ** Adding IceWarp Server as system service
- ** Do you want IceWarp Server to start automatically on reboot? [Y/n]: y ←起動時に自動でスタートさせるか
- ** Making service as autostart
- ** Changing permissions
- **
- ** Do you want to run IceWarp Server Wizard now? [Y/n]: y ←初期設定を行うか(やった方がいい。後からやるなら/opt/icewarp/wizard.sh)
- ** Starting IceWarp Server
- **
- ** IceWarp Server
- ** (c) 1999 - 2009 IceWarp Ltd.
- **
- ** Wizard configuration assistant
- **
- ** Logging is redirected to the following file for future reference:
- ** Commands: /opt/icewarp/logs/wizard/icewarpserver-wizard-cmd.log
- **
- ** Press [ENTER] to continue, CTRL-C to quit. ←エンターキー
- **
- ** Root menu
- ** ---------
- **
- ** You have the following options:
- **
- ** [1] Accounts and Domains management
- ** [2] License operations
- ** [3] Storage setup
- **
- ** [0] Return
- ** [Q] Exit
- **
- ** Enter your choice: 1 ←最初にアカウントとドメインを設定する
- **
- ** Accounts and Domains management
- ** -------------------------------
- **
- ** You have the following options:
- **
- ** [1] Add new domain
- ** [2] Delete domain
- ** [3] Add new user
- ** [4] Delete user
- **
- ** [0] Return
- ** [Q] Exit
- **
- ** Enter your choice: 1 ←ドメインを設定
- **
- **
- ** Create new domain:
- **
- ** Domain name: test.example.com ←新規ドメインを設定
- ** Domain description: icewarp test server ←ドメインの説明
- ** Administrator email address: admin@test.example.com ←ドメイン管理者アドレスを設定
- **
- ** OK? [Y/n]: y
- ** Domain created
- ** Add another domain? [Y/n]: n
- **
- ** Accounts and Domains management
- ** -------------------------------
- **
- ** You have the following options:
- **
- ** [1] Add new domain
- ** [2] Delete domain
- ** [3] Add new user
- ** [4] Delete user
- **
- ** [0] Return
- ** [Q] Exit
- **
- ** Enter your choice:3 ←ドメインのユーザを設定
- **
- **
- ** Create new account:
- **
- ** Email address: admin@test.example.com ←先ほどの管理者アドレスを設定
- ** Password: ** ←パスワードを設定
- ** Once again to confirm: ** ←再入力
- ** Full name: testadmin ←アカウント名を設定
- ** Account is system administrator? [Y/n]: y
- **
- ** OK? [Y/n]: y
- ** Account created
- ** Add another user? [Y/n]: n
- **
- ** Accounts and Domains management
- ** -------------------------------
- **
- ** You have the following options:
- **
- ** [1] Add new domain
- ** [2] Delete domain
- ** [3] Add new user
- ** [4] Delete user
- **
- ** [0] Return
- ** [Q] Exit
- **
- ** Enter your choice: q ←設定終了
- **
- ** IceWarp Server was successfully installed or upgraded.
- **
- ** Installer log is available in /root/icewarp-install.log
- ** Installer error log is available in /root/icewarp-install-error.log
IceWarpサーバの起動と停止
- # service icewarp start
- # service icewarp stop
以下のURLに管理者のアドレスとパスでアクセスしてWebで設定を行う。
http://hostname:32000/admin
残念ながら管理画面では日本語の選択ができず、ログイン語も日本語設定がどうしたら可能なのかわからなかった。インストール自体は難しいわけではないが、依存ライブラリが多いことと、それが管理画面のどこに影響するのかがわかりにくいことで、どの機能が有効でどれが有効でないのか判断がしにくい。設定しても動作しないものがちらほら散見され、ログの解析などをきっちりやらないとまともに動作させることができない印象を受けた。
使いやすければCommuniGate Proとの入れ替えもありか?と思っていたが、依存ライブラリの多さやSPAMやSIP設定の煩雑さを考えると、Linuxのアップデートで思わぬところが動作しなくなるとか、運用面の負荷が大きくなりそうで、正直選択はできないと思った…。むしろLinuxでなくWindowsで動かす場合にはアリかもしれないが、SIPが必要ならCommuniGate Proが、SIPが必須でなければKerio Connect7の方がスパム&ウイルス対策がビルトインされたメールサーバとしては圧倒的に使いやすいので、IceWarpの位置づけは結構微妙な感じ。
うーん、ちょっと残念。
no comment untill now