Which is best Postfix Log analyzer? [closed]
Asked Answered
P

2

15

Which is best Postfix Log analyzer? We are looking for good log analyzer for postfix. We need to analyze the following

  1. How many mails queued ?
  2. How many mails not delivered ?
  3. Why mails are not delivered ?

And is it possible to view the subject for the all mail status instead of message id? I mean to review the status of the single mail.

We are using Sawmill analyzer now. But the management is not satisfied with the report from the sawmaill, since its missing single message status and subject.

Pungy answered 21/8, 2009 at 10:33 Comment(0)
Q
19

I've used http://jimsun.linxnet.com/postfix_contrib.html before. Give it a try =) may help you with what you need.

Queenqueena answered 25/5, 2010 at 19:47 Comment(4)
Consider setting up a daily cronjob to send you an e-mail report, e.g. 0 9 * * * /usr/local/bin/pflogsumm.pl -d yesterday --problems_first /var/log/maillog | mail -s "yesterday's mail activity" [email protected]Ire
apt-get install pflogsummMichele
This really is a great mail log analyzer!Boche
I just recommend my tool for filtering output to pflogsumm - github.com/brablc/postfix-tools/blob/master/pflogrep . Tried to get it to jimsun.linxnet.com/postfix_contrib.html but no response.Overkill
A
20

Inspired by aimfeld, pflogsumm is really better and simpler to use:

Just install it using following commands. For Debian/Ubuntu (https://packages.debian.org/sid/pflogsumm):

apt-get install pflogsumm

For RedHatLinux/RHEL, CentOS, Fedora:

yum install postfix-pflogsumm

Example usage, get today's summary by:

pflogsumm -d today /var/log/mail.log

good ref: https://calomel.org/pflogsumm.html

Links to documentation:

https://linux.die.net/man/1/pflogsumm

Afterworld answered 28/3, 2016 at 11:14 Comment(1)
Important note from the FAQ. If you're processing multiple mail.log files at the same time, make sure to use pflogsumm `ls -rt /var/log/maillog*`. pflogsumm relies on log messages "arriving" in the order in which they were created. Source: jimsun.linxnet.com/downloads/pflogsumm-faq.txtBoil
Q
19

I've used http://jimsun.linxnet.com/postfix_contrib.html before. Give it a try =) may help you with what you need.

Queenqueena answered 25/5, 2010 at 19:47 Comment(4)
Consider setting up a daily cronjob to send you an e-mail report, e.g. 0 9 * * * /usr/local/bin/pflogsumm.pl -d yesterday --problems_first /var/log/maillog | mail -s "yesterday's mail activity" [email protected]Ire
apt-get install pflogsummMichele
This really is a great mail log analyzer!Boche
I just recommend my tool for filtering output to pflogsumm - github.com/brablc/postfix-tools/blob/master/pflogrep . Tried to get it to jimsun.linxnet.com/postfix_contrib.html but no response.Overkill

© 2022 - 2024 — McMap. All rights reserved.