darold / sendmailanalyzer

Sendmail log Analyzer is a tool to monitor sendmail usage and generate HTML and graph reports. It reports all you ever wanted to know about email trafic on your network. You can also use it in ISP environment with per domain and per mailbox report.
http://sendmailanalyzer.darold.net/
GNU General Public License v3.0
76 stars 13 forks source link

Improve filter for postfix #4

Closed daks-ua closed 11 years ago

daks-ua commented 11 years ago

Hello! First of all thank you for sendmailanalyzer! We use it in for analyze statistic our mail forwarding farms. We use it with some custom patches. One of them filters out some postscreen (new postfix subsystem) messages, which are not errors, but info messages. This messages are "BARE NEWLINE" and "WHITELIST VETO". Such message appears very often in case using postscreen and all comes into the "Rejection & Events" section "System messages" part. Considering that such messages appears 800-1000 times in one hour, result cache file for one month contains more than a half million of them. The messages described here http://www.postfix.org/POSTSCREEN_README.html#barelf and here http://www.postfix.org/POSTSCREEN_README.html#white_veto. Can you please add this messages to filtering out in the sendmailanalyzer and sa_cache.

Regards, Dmitriy F.

daks-ua commented 11 years ago

Sorry, forgot the examples of such message:

Feb 28 07:00:00 eforward1b postfix/postscreen[35830]: WHITELIST VETO [95.160.44.242]:32718 Feb 28 07:00:01 eforward1b postfix/postscreen[35830]: WHITELIST VETO [201.239.193.59]:3733

Feb 28 04:01:01 eforward3e postfix/postscreen[25518]: BARE NEWLINE from [98.142.221.7]:43262 Feb 28 04:02:15 eforward3e postfix/postscreen[25518]: BARE NEWLINE from [98.142.221.7]:43809

darold commented 11 years ago

Hi,

Sorry for the response delay, the issue has just been fixed in commit 0311e04.

Thanks a lot for your report.