2006年06月22日

qmail-sendのログフォーマット

livedoorClipに登録 | このエントリーをはてなブックマークに追加 | del.icio.usに登録 | MM/Memoに登録

qmail-sendのログを理解していなかった事に気付く。

smtpのrcptコマンドが複数ある場合を考慮していなかった事。
例えばこんな時。


helo
mail from:hoge@example.com
rcpt to:foo@example.com
rcpt to:bar@example.com
rcpt to:baz@example.com
data
.


ログはこうなる。


new msg [% inode %]
info msg [% inode %]: bytes [% bytes %] from <[% from %]> qp [% qp %] uid [% uid %]
[% FOR delivery = deliveries %]
starting delivery [% delivery.id %]: msg [% inode %] to [% delivery.action %] [% delivery.rcpt %]
delivery [% delivery.id %]: [% inode %]: [% delivery.reason %]
[% END %]
end msg [% inode %]


フィルタ書き直しだ。


半袖 at 21:55 │TrackBack(0)qmail 

トラックバックURL