2004-03 / 2004-03-09

前のエントリ: BIND 説明 (UNIX共通) [bind]
次のエントリ: Changelogmemo キーバインド デフォルト [xyzzy]

Postfix ログ監視(ログのフォーマット)
2004-03-09-6 / カテゴリ: [linux][MTA][メール][Postfix] / [permlink]

postfix の mail.log から、配送量の統計情報をチェックする際のポインタ

######## local to local ########
Jan 11 12:20:45 cheddar postfix/pickup[31737]: 674497D8092: uid=0 from=<root>
Jan 11 12:20:45 cheddar postfix/cleanup[32665]: 674497D8092: message-id=<20040111032042.674497D8092@mail.example.org>
Jan 11 12:20:46 cheddar postfix/qmgr[296]: 674497D8092: from=<root@mail.example.org>, size=311, nrcpt=1 (queue active)
Jan 11 12:20:46 cheddar postfix/local[32667]: 674497D8092: to=<zaki@mail.example.org>, relay=local, delay=4, status=sent ("|procmail -a "$EXTENSION"")
################################

######## remote(ezweb) to local #######
Jan 11 16:11:58 cheddar postfix/smtpd[4378]: connect from im11omta02.ezweb.ne.jp[61.117.2.67]
Jan 11 16:11:58 cheddar postfix/smtpd[4378]: E5E507D8092: client=im11omta02.ezweb.ne.jp[61.117.2.67]
Jan 11 16:11:59 cheddar postfix/cleanup[4379]: E5E507D8092: message-id=<20040111071146.IHO22830@im11imap12-s0.ezweb.ne.jp>
Jan 11 16:11:59 cheddar postfix/qmgr[296]: E5E507D8092: from=<******@ezweb.ne.jp>, size=1173, nrcpt=1 (queue active)
Jan 11 16:11:59 cheddar postfix/smtpd[4378]: disconnect from im11omta02.ezweb.ne.jp[61.117.2.67]
################################

######## local to remote(ezweb, t.vodafone) #######
Jan 11 16:11:59 cheddar postfix/smtpd[4378]: connect from localhost[127.0.0.1]
Jan 11 16:11:59 cheddar postfix/smtpd[4378]: E87827D8093: client=localhost[127.0.0.1]
Jan 11 16:12:00 cheddar postfix/cleanup[4379]: E87827D8093: message-id=<20040111071146.IHO22830@im11imap12-s0.ezweb.ne.jp>
Jan 11 16:12:00 cheddar postfix/smtpd[4378]: disconnect from localhost[127.0.0.1]
Jan 11 16:12:00 cheddar postfix/qmgr[296]: E87827D8093: from=<fooML-admin@mail.example.org>, size=2097, nrcpt=4 (queue active)
Jan 11 16:12:00 cheddar postfix/local[4381]: E5E507D8092: to=<fooML@mail.example.org>, relay=local, delay=2, status=sent ("|/usr/share/fml/fml.pl /var/spool/ml/fooML")
Jan 11 16:12:20 cheddar postfix/smtp[4385]: E87827D8093: to=<******@ezweb.ne.jp>, relay=lsean.ezweb.ne.jp[219.125.149.6], delay=21, status=sent (250 Ok: queued as D478683)
Jan 11 16:12:21 cheddar postfix/smtp[4386]: E87827D8093: to=<******@t.vodafone.ne.jp>, relay=mx.t.vodafone.ne.jp[210.175.1.210], delay=22, status=sent (250 Message received: 20040111071220328.EFFS.9955@tgmsbmtk01sc.t.vodafone.ne.jp)
################################
Jan 15 12:02:45 cheddar postfix/smtpd[11399]: connect from mgstc03.t.vodafone.ne.jp[210.151.9.74]
Jan 15 12:02:45 cheddar postfix/smtpd[11399]: 1A2A47D8092: client=mgstc03.t.vodafone.ne.jp[210.151.9.74]
Jan 15 12:02:45 cheddar postfix/cleanup[11400]: 1A2A47D8092: message-id=<200401150302.MAA28281@t.vodafone.ne.jp>
Jan 15 12:02:45 cheddar postfix/qmgr[296]: 1A2A47D8092: from=<******@t.vodafone.ne.jp>, size=764, nrcpt=1 (queue active)
Jan 15 12:02:45 cheddar postfix/smtpd[11399]: disconnect from mgstc03.t.vodafone.ne.jp[210.151.9.74]
Jan 15 12:02:45 cheddar postfix/local[11402]: 1A2A47D8092: to=<zaki@mail.example.org>, relay=local, delay=0, status=sent ("|procmail -a "$EXTENSION"")

結論としては…
receive は "$host postfix/smtpd[xxx]: connect" をカウント
deliver(local) は "$host postfix/local"をカウント
deliver(remote) は "$host postfix/smtp ... status=sent"をカウント
deferred は "$host postfix/smtp ... status=deferred"をカウント
前のエントリ: BIND 説明 (UNIX共通) [bind]
次のエントリ: Changelogmemo キーバインド デフォルト [xyzzy]

2013 : 01 02 03 04 05 06 07 08 09 10 11 12
2012 : 01 02 03 04 05 06 07 08 09 10 11 12
2011 : 01 02 03 04 05 06 07 08 09 10 11 12
2010 : 01 02 03 04 05 06 07 08 09 10 11 12
2009 : 01 02 03 04 05 06 07 08 09 10 11 12
2008 : 01 02 03 04 05 06 07 08 09 10 11 12
2007 : 01 02 03 04 05 06 07 08 09 10 11 12
2006 : 01 02 03 04 05 06 07 08 09 10 11 12
2005 : 01 02 03 04 05 06 07 08 09 10 11 12
2004 : 01 02 03 04 05 06 07 08 09 10 11 12

最終更新時間: 2013-05-02 16:12