On 2/6/11 9:23 PM, meyer-jor...@t-online.de wrote:
Can someone give me a hint:
I'm looking for a tool to analyze the postfix mail log. I want to get a clearly
arranged
list of all passed (and delivered) mails (sender, recipient, date, subject
[added as
warning line]).
The Subject: line (or any other headers) are not logged by postfix.
You could send all mail through a filter that does this for you; you are
free to do anything you want in a filter.
http://www.postfix.org/FILTER_README.html
And amavis-new/spamassasin/postgrey makes the log less clear than it already is.
So don't log it to the same location.
Postfix has no option but to log to syslog; IIRC amavisd et al can log
wherever you want them to.
(No statistics. Only a list of each separate mail.)
A basic filter should be trivial to cobble together; you could even do
this with a script accessed through always_bcc (and then just throw the
mail away).
--
J.