The log analyzer is a simple command line Perl script that uses the IP to country database to present the important data in the Exim log file in an easy to read format. Additional search criteria can be specified on the fly. The script will automatically download and install the IpToCountry.csv file.
A typical output will look something like this:
You will need a working copy of Perl and an Exim log file of course as well as wget and gunzip
You need to be running as root. Run the following:
chmod 700 mail-analyzer
To run the program, make sure you are in the directory and type