- nginxでreverse proxyしてslowlorisを防いでみる - なんか:かんがえて-4
ftnk.jp -> ~fumi -> ChangeLog -> 2009-06 -> 2009-06-26
2009-06 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
2009-06-26 Fri
■ 今日の del.icio.us (2009-06-26)
■ Cisco 2950, 2621 届いた
[2009-06-24] にヤフオクで買った
- Cisco 2950 * 3
- Cisco 2621 * 2
が届いた.
- 勢いで散財してみた [2009-06-24-4]
■ ビアガーデン行ってきた
会社の人と 3 人でビアガーデンへ.
(とりあえずのメモ.あとで追記・修正する)
準備: 仮想 IP address の用意
/etc/sysconfig/network-script/ifcfg-eth0:1
を IP address 192.168.0.12 として用意.
まず初期化
postmulti -e initこれは一度だけ行なえばよい.
デフォルトインスタンスの設定
/etc/postfix/main.cf の設定
とりあえず,inet_interfaces を localhost のみに.
インスタンスの作成
mta というグループに所属する postfix-test という名前のインスタンスを作成
postmulti -I postfix-test -G mta -e create/etc/postfix-test に main.cf と master.cf ができる
main.cf の inet_interfaces を
inet_interfaces = 192.168.0.12とする.
また,
master_service_disable = inetを
master_service_disable =をとする.
インスタンスの起動
postmulti -i postfix-test -e enable postmulti -i postfix-test -p start
ステータスの確認
# postmulti -a -p status postfix/postfix-script: the Postfix mail system is running: PID: 14364 postfix-test1/postfix-script: the Postfix mail system is running: PID: 14430
# netstat -ln -t|grep 25|sort tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 192.168.0.12:25 0.0.0.0:* LISTEN
- postmulti を使うため,Postfix 2.6.2 の rpm を作る [2009-06-23-1]





