The sys admin’s daily grind: SendmailAnalyzer

Troop Visit

Article from Issue 149/2013
Author(s):

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

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Sendmail Strategies

    A structured approach to Sendmail helps to maximize your spam and virus protection.

  • Spam Test

    Spam filters can help smooth the waves in your inbox, as long as they are reliable and don’t have too many side effects. We’ll show you what we found when we tested five antispam appliances and two service providers.

  • Milter Manager 1.0.0 Combines Anti-Spam Filters

    Milter Manager, a program for mail filter interfaces to mail servers, is now in its first stable version 1.0.0. It allows combining multiple mail filters.

  • Charly's Column

    The Postfix Policyd plugin fights spam using techniques such as greylisting, source detection, volume measurements, blacklisting, and HELO rotation detection.

  • Amavisd-new

    Sometimes the best time to stop bad mail is before it arrives. AmavisdNew is an Open Source interface for integrating spam and virus filtering with your mail server.

comments powered by Disqus
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.

Learn More

News