The sys admin’s daily grind: SendmailAnalyzer
Troop Visit
During the ongoing battle against spam, admins should inspect their troop’s battle lines from time to time. If you don’t relish the thought of counting the dinnerware, you can use the services of a logfile inspector like SendmailAnalyzer, which works surprisingly well with Postfix and the like.
I ran Sendmail 8.7 on the first mail server I operated for a large group of users, and it was hate at first sight. I kept up this War of the Roses until 8.9.0 and later moved to Postfix. In the years that followed, I lost track of the Sendmail Server Analyzer. It was not until I read a small post online that I understood that SendmailAnalyzer also can evaluate Postfix logs and messages from Amavisd-new, ClamAV, SpamAssassin, Postgrey, and other MTA appendages. High time to try out the tool.
SendmailAnalyzer comes as a sleek tar.gz package and relies on the existence of Perl and the GD libraries. After the install, you need to set up a cronjob to take care of data caching. The analyzer itself can run in the foreground or as a system service; the developers have kindly included start/ stop scripts to match. The configuration is handled in the sendmailanalyzer.conf file, although command-line parameters are also possible. The most important setting is right at the top of the configuration file.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.