2011-02-01から1ヶ月間の記事一覧

Apacheのログでlogrotateを設定してみる

元々こんな設定が入ってる状態o /etc/logrotate.conf# see "man logrotate" for details # rotate log files weekly weekly# keep 4 weeks worth of backlogs rotate 4# create new (empty) log files after rotating old ones create# uncomment this if yo…

telnetでAPOP認証する方法

忘れがちなのでmemo# telnet 192.0.2.10 110 OK <123456789123@mai.example.com> とかでtelnetで110番ポート叩いて、別コンソールひらいて#echo -n "<123456789123@mai.example.com>パスワード" | md5sum はっしゅの結果# telnet 192.0.2.10 110 APOP bar@ex…

Postfix::イントラ内の転送とか(transport)

同一のイントラ内にメールとばしたいのですが そのドメインがグローバルを持ってしまっていて、 「/etc/hosts」にインターナルIPを割り振ったのに見に行ってくれません。反抗期なのでしょうか。Q 4.10. メールの送信に /etc/hosts ファイルを参照させるには…