- 802 名前:login:Penguin mailto:sage [2010/07/04(日) 10:52:17 ID:nnZqjBct]
- # CentOSのスレとどちらにしようか迷いましたが、ここに投下します。
vmware workstation 7.1 で CentOS 5.5を試しています。 CentOS 5.3 のように、postfix-pflogsummで、/var/log/maillogを集計しようとしたのですが、うまくいきません。 調べてみたら、日付の形式が下記のように変わっています。 (***は実際のアドレスが入っているため伏せ字) ログの出力書式の変更方法をご存じの方は、ご教示お願いいたします。 2010-07-03T12:37:46.217751+09:00 ****** postfix/cleanup[6478]: 20F412F00E5: message-id=<********@******.*****.**.**> 2010-07-03T12:37:46.240472+09:00 ****** postfix/qmgr[3835]: 20F412F00E5: from=<****@**********>, size=1662, nrcpt=1 (queue active) 2010-07-03T12:37:46.554756+09:00 ****** postfix/local[6485]: 20F412F00E5: to=<******@*********>, orig_to=<root>, relay=local, delay=0.73, delays=0.41/0.05/0/0.26, dsn=2.0.0, status=sent (delivered to maildir) 2010-07-03T12:37:46.556147+09:00 ****** postfix/qmgr[3835]: 20F412F00E5: removed # 一瞬、目を疑った。 以前は、こんな形式でした。 Apr 7 21:04:09 tsukuyo postfix/cleanup[6149]: 7399B2F008A: message-id=<*********@****.**.**> Apr 7 21:04:09 tsukuyo postfix/qmgr[3740]: 7399B2F008A: from=<*********@****.**.**>, size=1342, nrcpt=1 (queue active) Apr 7 21:04:09 tsukuyo postfix/local[6159]: 7399B2F008A: to=<*********@****.**.**>, orig_to=<root>, relay=local, delay=0.32, delays=0.09/0.05/0/0.18, dsn=2.0.0, status=sent (delivered to maildir) # pflogsummにパッチを当てればいいが、正直('A`)マンドクセ
|

|