SendmailAnalyzer Changelog

What's new in SendmailAnalyzer 9.1

Apr 20, 2015
  • This release fixes one year of reported issues, adds several additional milters and useful features.
  • Add CSV export of top senders and recipients as well as search results.
  • Add STARTLS status report in the Status report.
  • More translation file: Russian and Italian.
  • Add DSN report for postfix log.
  • Add support to Exim log file.
  • Add support to milter-limit reported in Top Rejection & Events report with status starting with "has exceeded ...".
  • Improve incremental mode by seeking directly to last parser position in the logfile after last run. It will also auto detect file rotation and fall back to the start of the file when the file has changed.
  • Add postfix warning into SysErr reports.
  • Add support to spampd spam detection.
  • Add information about settings for sendmailanalyzer into systemd service.
  • Add ruleset=check_relay with reject=550 5.7.1 to the spam reports.
  • There's also new command line parameters or configuration directive:
  • --duplicate command line option to use to fix a bad Postfix behavior which use different MTA id per recipient for a single message. Note that when enabled, you will not see messages with multiple recipient.
  • Add new configuration directives EXCLUDE_FROM, EXCLUDE_RELAY and EXCLUDE_TO to not report emails from/to the specified list of senders/recipients or from senders relay.
  • Add WEEKLY_FREE_SPACE configuration directive to force sa_cache to archive or remove data file each weeks instead of default per month.
  • Here is the full list of change and credits:
  • Detailed views are now also downloadable as CSV file. Thanks to Tsioritafita Rahajanisainana for the feature request.
  • Fix computation of starttls graph. Thanks to MAYER Hans for the report.
  • Allow download of Top senders and recipients in CSV format from a link [csv] after the column header. Thanks to Tsioritafita Andre Rolly Rahajanisainana for the feature request.
  • Add russian translation. Thanks to sef1976 for the patch.
  • Add --duplicate command line entry to fix a bad Postfix behavior which use different MTA id per recipient for a single message. Note that when enabled you will not see messages with multiple recipient. Thanks to Olivier Zolli for the report.
  • Add STARTLS status report. Thanks to Hans Mayer for the feature request.
  • Fix documentation about MAIL_GW and MAIL_HUB where ip addresses must be used instead of DNS name. Thanks to Roger for the report.
  • Fix comment to MAIL_GW and MAIL_HUB where ip addresses must be used instead of DNS name. Thanks to Roger for the report.
  • Remove rejected mail from top senders statistics. Thanks to Michal Paulus for the report.
  • Add DSN report for postfix log. Thanks to Wolfgang for the feature request.
  • Fix DNSBL entries are missing if the from=. Thanks to Olivier Zolli for the patch.
  • Update configuration file in debian directory.
  • Add Italian translation file. Thanks to Luca Sasdelli for the patch.
  • Fix unrecognized virus infection log report produced by amavis-new. Thanks to Olaf Menzel for the report.
  • Fix case where incoming message was not counted in messaging flow.
  • Fix spamd sendmail parser, some messages was lost. Thanks for Sir Y Dog for the report.
  • Remove README.RPM from slackBuild, the file no longer exists. Thanks to Syr Y Dog for the report.
  • First work on adding support to Exim log file.
  • Add new configuration directives EXCLUDE_FROM, EXCLUDE_TO and EXCLUDE_RELAY to not report emails from the specified list of senders or senders relay. Thanks to Dave Wreski for the feature request.
  • Fix rejection Top status with Domain of sender address....
  • Fix Top DSN wrong report count. Unknown senders are marked as unknown. Thanks to Paul Cantle for the report.
  • Fix Top DSN details reports. Thanks to Paul Cantle for the report.
  • Fix enhdnsbl rejection, they should be reported as DNSBL spam now. Thanks to Piotr Bodnar for the report.
  • Limit Top rejection status to any text before : character.
  • Fix some status cleanup.
  • Add support to milter-limit. Will be shown in Top Rejection & Events report with status starting with "has exceeded ...". Thanks to Juan Carlos Sanchez for the feature request.
  • Fix missing sender relay when no DNS name was appended in front. Thanks to Juan Carlos Sanchez for the report.
  • Exclude authid single message from System messages report.
  • Add aggregating of STARTTLS error.
  • Fix a possible case where Amavis Hits score was not stores.
  • Make systemd happy with sendmailanalyzer.pid file. Thanks to Piotr Bodnar for the report.
  • Test log file size before seeking in incremental mode.
  • Accelerate incremental mode by seeking directly to last position of the parser in the logfile after last run. It will also auto detect file rotation and fall back to the start of the file when the file has changed.
  • Some documentation fixes. Thanks to Igor Vuk for the patch.
  • Add WEEKLY_FREE_SPACE configuration directive to force sa_cache to archive or remove data file each weeks instead of default per month. This will help saving space on huge MTA.
  • Fix summarization of some status messages.
  • Add error message when the archive command can not be achieved.
  • Add postfix warning into SysErr reports. Thanks to Mathieu Chateau for the feature request.
  • Add support to spampd spam detection. Thanks to Thibaut Varene for the feature request.
  • Recalculate current time at each line to compare log entry with current date to search the year used in the log file.
  • Add information about settings for sendmailanalyzer into systemd service. Thanks to fmalfatto for the report.
  • Add ruleset=check_relay with reject=550 5.7.1 to the spam reports. Thanks to Ricardson Williams for the report.

New in SendmailAnalyzer 9.0 (Mar 27, 2014)

  • Fix click on flotr2 graph and update javascript file.
  • Fix issue when parsing logs with [ID 801593 mail.notice] field.
  • Fix display of month instead of minutes of the hour in graphs.
  • Add support to sqlgrey output. Report will be added under the Postgrey menu. POSTGREY_NAME set by default to postgrey|sqlgrey.
  • Restore and fix postgrey statistics that was broken since 8.1.
  • Add new directive EXCLUDE_TO to be able to exclude from reports some destination addresses. Thanks to Bo Larsson and Dave Wreski for the feature request.
  • Replace value of AMAVIS_NAME configuration directive with: amavis|maiad
  • Fix parsing of maiad spam/virus report. Thanks to breakaway for the report.
  • Fix rpmlint bogus date warning. Thanks to Igor Vuk for the patch.
  • Remove a rogue tab character from .spec, add pt_BR translation. Thanks to Igor Vuk for the patch.
  • Change the README and --help output to match the default DELAY value. Thanks to Igor Vuk for the patch.
  • Change DELAY description to match the default value of 5 seconds. Thanks to Igor Vuk for the patch.
  • Add support to postfix/policyd-weight antispam. Thanks to Michael Seevogel for the feature request.
  • Change all instances of 'coma' to 'comma'. Thanks to Igor Vuk for the patch.
  • Fix report of SASL SMTP AUTH. Thanks to Michael Seevogel for the report.
  • Fix some errors in cron lines. Thanks to Dominique Fournier for the patch.
  • Add debian repository to allow building deb package with "dpkg-buildpackage -rfakeroot" and remove the old repository packaging/debian/. Thanks to Dominique Fournier for the patches.
  • Remove reference to GD::* perl modules, they are no more used.
  • Add SPAMD_NAME details to documentation.
  • Add SPAMD_NAME directive to default configuration file.
  • Add --spamd explanation to usage.
  • Add Brazilian Portuguese translation. Thanks to Paulino Michelazzo for the translation patch.
  • Fix the double entries generated by some postfix plugins. Thanks to Alain Deleglise for the report.
  • Fix spam details in amavis parser.
  • Fix some syserr message and remove report of virus from the Messaging Status report page.
  • Add spam details detected by spamd into Spamd-Milter report.
  • Remove Spam from the Messaging Status report.
  • Fix percentage of Other in Messaging status report.
  • Fix several minors bugs and add support to clamav-milter with postfix. Thanks to Dominique Fournier for the feature request.
  • Fix unparsed spamd virus detected line when the autolearn field is not just after the mid field. Thanks to Marcio Veloso for the report.
  • Add support to ipv6 addresses. Thanks to Dominique Fournier for the feature request.
  • Change french internal direction translation from Grp to Int.
  • Remove set direction about uucp like localhost.
  • Update spec file with new and removed files.
  • Add +doc/sa_cache.pod and removed -doc/sendmailanalyzer.3
  • Add sa_cache cron job documentation on doc/sa_cache.pod and remove man page from git repo as they are automatically generated at install.
  • Add missing doc/sa_cache.pod file. Thanks to Javier Ariznabarreta for the report.
  • Fix double count of postfix messages sent when email "path" would be this: Internet -> spamd -> postfix -> amavisd -> uucp mailbox -> uucp pickup -> Exchange. Thanks to Javier Ariznabarreta for the report.
  • Fix pie graph with other status report.
  • Add uucp relay as internal delivery
  • Change WeekDay translation that should start with Sunday.
  • Cosmetic change to graphs.
  • Fix cleanup of RBL rejection message.
  • Fix major bug with number of senders and recipient.
  • Add some cosmetic change to calendar menu.
  • Add week view on calendar menu.
  • Remove GD perl modules from requirements as well as tje TTFONT configuration directive.
  • Remove obsolete file cgi-bin/grafit.cgi from source tree.
  • Replace the use of GD::Graph Perl library by the flotr2 javascript graphic library.
  • Remove the use of space HTML escaping in language files ( ), they were used with the obsolete GD::Graph Perl library.
  • Update documentation about URL_JSCRIPT.
  • Add URL_JSCRIPT to specify default url to the flotr2 javascript library. Add auto install of flotr2.js.
  • Add flotr2 javascript library to build graphs.
  • Fix broken HTML code on auth mechanism report.
  • Fix recipient relay with Postfix. Thanks to Walter Huf for the patch.
  • Do not delete an entire message record just because one of the recipients goes to a skipped relay. Thanks to Walter Huf for the patch.
  • Remove some posfix debug or info messages from rejection reports.
  • Clear extra information from DNSBL spam detail report.
  • Force vertical alignment on top of columns on Top Statistics.
  • Remove some postfix/postscreen information from reject report. Thanks to daks-ua for the report.
  • Fix case where recipients were not stored with amavis spam and virus detection.
  • SA will now show top recipients in topvirus view even if they was not sent.
  • remove temporary debug information.
  • Fix case where amavis spam details was not collected. Thanks to grufo for the report.
  • Fix documentation about Postfix that is no fully supported. Thanks to Comprax for the report.
  • Fix case where virus with Amavis and clamd are reported twice. Thanks to Paul Cantle for the report.
  • Renamed PID_FILE directive into PID_DIR to be less confusing and fix default path, backward compatibility with old configuration file is preserved. Thanks to Thomas Merlin for the report.
  • Reorder command line options in usage() display.
  • Fix case where log line can appear in the future to sendmailanalyzer with automatically subtracts one year if sendmailanalyzer detect that the date is in the future from the time it is run or the date from the LAST_PARSED file. Thanks to Damian Lukowski for the report.
  • Add the -y | --year command line option that can be use to force the year of the log as syslog doesn't log the year in the date on most distribution.
  • sa_report.cgi has also been modified to add default current year in the select box if not present as it always goes to the current day by default.
  • Improve speed of incremental_check() function.
  • Add man page for sa_cache. Thanks to Lars Vogdt for the patch

New in SendmailAnalyzer 8.7 (Jan 5, 2013)

  • Fix major bug with new year change when LAST_PARSED has a last line parsed from December. Thanks to Richard Victor Correia for the report.
  • Fix the .sample configuration file install in doc/ folder when building an RPM. Thanks to Igor Vuk for the patch.

New in SendmailAnalyzer 8.6 (Dec 28, 2012)

  • Fix details search of top sender and status in top rejected stats.
  • Thanks to Arthur Gouros for the report.
  • Add SKIP_RCPT_RELAY configuration directive to bypass local delivery
  • messages that double the count of messages. Default is dovecot.
  • Thanks to Richard Victor Correia for the report.
  • Change install to copy sendmailanalyzer.conf.sample into the doc/
  • directory and copy sendmailanalyzer.conf into etc/ if none already
  • exist. Thanks to Igor Vuk for the report.
  • Fix search of rejected message on domain. Thanks to Arthur Gouros
  • for the report.
  • Fix virus name storage with spamd-milter quarantine detection.
  • Thanks to Bill V for the report.
  • Change menu "Rejection & Errors" into "Rejection and Events".
  • Fix missing system message when it was registered at same time than
  • a previous one.
  • Reorder command line option, short before long.
  • Fix top authid with anonymous TLS SMTP auth.
  • Add support to syslog high resolution timestamp. Thanks to Richard
  • Victor Correia for the report.
  • Replace .orig extension into .sample.
  • Add anonymous TLS connection established into auth report instead,
  • of errors/events report. Thanks to Arthur Gouros for the suggestion.
  • Fix top domain name search in top rejected view. Thanks to Arthur
  • Gouros for the report.
  • Change in .spec file to reflect the config file renaming. Thanks to
  • ivuk fro the patch.
  • Add missing spamd historical report in sa_cache. Thanks to Bill V
  • for the report.

New in SendmailAnalyzer 8.4 (Jul 14, 2012)

  • Add signal handler to SIGHUP to allow a full restart of sendmailanalyzer
  • to force reread configuration file and reopen the pipe to the log file.
  • Allow character @ in secure_param() to allow syslog-ng remote host
  • syntax
  • Add more information on CGI param error returned by secure_param().
  • Add logrotate example to restart sendmailanalyzer in main documentation.
  • Fix a bug in Top Authid where number was always 1.

New in SendmailAnalyzer 8.2 (Mar 12, 2012)

  • Fix a case where Amavis spam detail are not collected du to syslog
  • message truncating. Thanks to Przemyslaw Sikora for the report.
  • Add report of Sendmail milter smf-spf, they will be reported with
  • rejected/error message. Thanks to Przemyslaw Sikora for feature
  • request.
  • Remove a man page wrong named with double extension mark.

New in SendmailAnalyzer 8.1 (Jan 9, 2012)

  • Add german translation file. Thanks to Sven Wehner for the contribution.
  • Fix count for the authid login id which always shows 1 for all users.
  • Thanks to Mark Price for the report.
  • Fix unterminated column html tag in reject statistics.
  • Fix top Spam statistics on spamassassin autolearn information.
  • Add support to postgrey statistics. Thanks to John Lockard for the
  • feature request.
  • Add POSTGREY_NAME configuration directive to change the default
  • syslog ident name of Postgrey. See configuration file for more
  • information.
  • Add POSTGREY_VIEW configuration directive to enable/disable the
  • postgrey link into the menu. Disable by default for backward
  • compatibility.

New in SendmailAnalyzer 8.0 (Aug 8, 2011)

  • Remove day_cache program, the daily caching is now integrated into the
  • sa_cache script with the option -a or --actual-day-only. With huge
  • data you still need to run sa_cache each five minutes within crontab.
  • The caching files are now build per hour to avoid "Out of memory" on
  • very busy servers. So now you have cache files generated per hour, per
  • day, per month and year.
  • CGI script sa_report have been reviewed to handle those new cache file
  • and to always display the reports in the second.
  • A lot of work have been made to add more support to PostFix logs and
  • postscreen milter.
  • Fix missing link to detailed informations when there was just one
  • data file in the directory.
  • Limit numbers of top sender/recipient in pie graph to maximum 10.
  • Add pid file support to sa_cache to prevent parallel execution. After
  • a system crash you may need to remove those pid files if you want
  • sendmailanalyzer and sa_cache to be run again.
  • Documentation reviewed.

New in SendmailAnalyzer 7.2 (Aug 1, 2011)

  • Add support of ruleset check_relay logged without sendmail id. Thanks
  • to Jeff Kaminski for the report.
  • Add 'FaKe' prefix to automatic generated id, so that you don't waste
  • your time to search for a sendmail id into the log corresponding to
  • the sendmailanalyzer unique id.
  • Add a note in INSTALL file about sendmail LogLevel configuration
  • directive. The default value 9 don't need to be change to have
  • SendmailAnalyzer report, by increasing this value all debug messages
  • will be detected as error or rejection, so don't change this value.
  • Thanks to Jeff Kaminski for the comment.
  • Add message status percentage pie graph on Global Statistics Status
  • screen. Only status upper or equal than 1% are shown.
  • Add sender relay percentage pie graph on Top Statistics Senders
  • screen. Only sender relays upper or equal than 1% are shown.
  • Add recipient relay percentage pie graph on Top Statistics Recipients
  • screen. Only recipient relays upper or equal than 1% are shown.

New in SendmailAnalyzer 7.1 (Jul 11, 2011)

  • Fix delivery direction bug when destination relay was localhost.
  • Fix an error on domain report when the email address doen't have
  • one but just the username. Thanks to John Duthie for the report.
  • Add a new configuation directive DEFAULT_DOMAIN to add to an email
  • address if there's just the username (see fix above). By default
  • SendmailAnalyzer will add the '@localhost' domain but you may want
  • to change this domain, so use this directive.

New in SendmailAnalyzer 6.4 (May 27, 2010)

  • Add support to dnsbl-milter. Thanks to bversteeg for feature request.
  • Fix a bug in link to spam details search view.
  • Change link to SquidAnalyzer web site.

New in SendmailAnalyzer 6.3 (May 6, 2010)

  • Rewrite some parts of the sendmailanalyzer command usage, with more
  • details.
  • Fix cross scripting hole in lang CGI parameter. Thanks to peoples at
  • ha.ckers.org and root-me.org :-)
  • Fix top caching statistics failure with value with a single quote.

New in SendmailAnalyzer 6.2 (Feb 11, 2010)

  • MERGING_HOST is a configuration directive that allow aggregation of multiple mailhost that syslogs to a remote server throught rsyslog to have only one SendmailAnalyzer report. Thanks to Slamp for the feature request.
  • When using Mailscanner with clamd (not clamscan) if you want virus report you must configure clamd to log with syslog and use LOG_MAIL. If the default syslog name od clamd process is not 'clamd' use the CLAMD_NAME configuration directive to change the default value. This fix virus report for Mailscanner and clamd.
  • On some mailhost determining the messaging directions is difficult and return wrong information. Set SHOW_DIRECTION configuration directive to 0 to disable direction statistics reports. - Fix "No record for this period" on Top SMTP Auth statistics if no data where found.

New in SendmailAnalyzer 6.0 (Jan 12, 2010)

  • New SendmailAnalyzer site => http://sareport.darold.net/
  • Add install script and packaging support.
  • Remove all .pl extensions and rename sa_report.pl into sa_report.cgi
  • for new install script and better packaging support.
  • Rename SendmailAnalyzer pPerl script to sendmailanalyzer.
  • Fix day_cache usage message.
  • Now sa_cache and day_cache can be run without any argument to proceed
  • all rsyslog host and mainly for easy install and packaging support.
  • Fix misshandling of User unknow DSN.
  • Fix memory leak on AUTH stat initial code.
  • Fix misshandling in spam detail view
  • Fix storage of Authentication-Warning using -f warning message.
  • Fix langage selection on host view that's always reseted to default.
  • Add SMTP Auth flow view by auth type (server or client) and by mech
  • (plain, login, etc.). This stat is not available in per domain view and
  • can be disable in config file (see SMTP_AUTH).
  • Add SMTP Auth top view to display top auth mechanism, top connection
  • relay and top authid. This stat is not available in per domain view
  • Add storage to pid file to keep track of the running daemon and
  • allow easier start/stop script. This also fix a bug where SA do not
  • stop on kill signal because is waiting for read on tail pipe. The pid
  • now keep track of the 2 pids and then both are killed.
  • Remove top DNS sender and relay from stats, not really usefull and
  • most of the time it returns false records.
  • Add Original recipient in DSN detail view.
  • Fix Top Sender Domain and Top Sender Address detail views when domain
  • or address is empty ().
  • Add SPAM_VIEW and VIRUS_VIEW configuration directives to enable or
  • disable the respective menus. By default they are enable.
  • Add SPAM_TOOLS configuration directive to choose antispam detail menu
  • link to display. Default is all.
  • Autostart on main window when there's only one host and no per domain
  • report.