michael orlitzky

postfix-logwatch

get it

Release
postfix-logwatch-1.40.05.tar.xz
Browse source
gitweb
Clone it
git clone https://gitweb.michael.orlitzky.com/postfix-logwatch.git

What is it?

A Perl script that reads your postfix mail logs and generates a summary of them. This version is forked from logreporters project that has been abandoned for a while and that no longer supports modern versions of perl or postfix.

Even this is only minimally maintained. I keep it working with new versions of postfix, but that's about the extent of my interest. I am alive to accept patches, however.

Usage

To run the program directly from the git repository or from an extracted tarball, try

user $ perl -T postfix-logwatch -f postfix-logwatch.conf < mail.log

We use the -T flag to tell Perl to not do anything stupid with untrusted input, and the -f flag to tell postfix-logwatch to use the config file that's sitting right there. Assuming your mail log is named mail.log, this will feed it to postfix-logwatch.

You can also install postfix-logwatch to the system with its configuration file at /usr/local/etc/postfix-logwatch.conf. If you want to change that location, you'll have to edit the postfix-logwatch script. Sorry!

How to report bugs

Email them to me at michael@orlitzky.com.