[[Postfix on FreeBSD]]

FreeBSDで構築しているサーバの障害でのサービス・ダウンタイムを少なくするため、予備サーバをたてる。

OSをインストールし、ports_tree Kernelをupdate.

ユーザも引き継ぐため、メインサーバの/etc/master.passwdと予備サーバのものをマージ。
 vipw 
して適当に修正して保存。

**postfixのインストール [#l87f7c3e]
*postfixのインストール [#l87f7c3e]
 [[Postfix on FreeBSD]]
 portinstall mail/pflogsumm もついでに
 [[pflogsumm]] 

**apacheのインストール [#w1d9dd2c]
*apacheのインストール [#w1d9dd2c]
 [[Apache on FreeBSD]]
 解析ソフト、www/webalizer も
 
 webalizerの設定 
http://piano2nd.smb.net/~kuji/pukiwiki-1.4.7/index.php?cmd=read&page=webalizer&word=webalizer#z3eed770


**backupソフトの導入 [#m1112c41]
*backupソフトの導入 [#m1112c41]
 [[Rsync de backup]]

Mailmanのインストール
*Mailmanのインストール [#yb9440f0]
 [[Mailman on FreeBSD]]
#ref(powerlogo.gif)

 ---> Starting post-install script:
 ---> Checking crontab(5) file for user "mailman"
 ---> Installing crontab(5) file for user "mailman"
 ---> Checking (and fixing) file and directory permissions
 ----------------------------------------------------------------------------
 Mailman has been installed, but requires further configuration before use!
 
 You will have to configure both your MTA (mail server) and web server to
 integrate with Mailman.  If the port's documentation has been installed,
 extensive post-installation instructions may be found in:
 
   /usr/local/share/doc/mailman/FreeBSD-post-install-notes
 
 Note (1):  If you use an alternate (non-Sendmail) MTA, you MUST be sure
 that the correct value of MAIL_GID was used when this port or package
 was built.  Performing a "make config" in the Mailman port directory
 you can choose your MTA with the correct MAIL_GID.
 
 Note (2):  The entire Mailman installation resides under /usr/local/mailman
 The command-line scripts necessary to administer Mailman have been
 installed in /usr/local/mailman/bin
 
 Note (3):  As of version 2.1, Mailman's queue runner runs as a daemon and
 is started by a script in /usr/local/etc/rc.d
 ----------------------------------------------------------------------------
 
 Your Postfix hostname is non-default.
 You must add "$SMTPHOST = tfc2.thousand-winds.jp" to the bottom of mm_cfg.py.
 
 ===> Installing rc.d startup script(s)
 ===>   Registering installation for mailman-2.1.14
 ===> SECURITY REPORT:
      This port has installed the following binaries which execute with
      increased privileges.
 /usr/local/mailman/cgi-bin/create
 /usr/local/mailman/cgi-bin/subscribe
 /usr/local/mailman/mail/mailman
 /usr/local/mailman/cgi-bin/listinfo
 /usr/local/mailman/cgi-bin/rmlist
 /usr/local/mailman/cgi-bin/options
 /usr/local/mailman/cgi-bin/private
 /usr/local/mailman/cgi-bin/admindb
 /usr/local/mailman/cgi-bin/edithtml
 /usr/local/mailman/cgi-bin/roster
 /usr/local/mailman/cgi-bin/admin
 /usr/local/mailman/cgi-bin/confirm
 
      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://www.list.org/
 ===>  Cleaning for mailman-2.1.14

** behave.py のインストール [[Mailman 機種依存文字3]] [#u361bd1d]
*設定ファイルの移行 [#s9466645]

+そのまま移行したファイル
 /etc/hosts.allow

+編集して移行したファイル
 /etc/crontab


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS