---
name: "anteater"
section: "1"
platform: "linux"
package: "anteater"
version: "0.4.5-8"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/anteater"
---

# anteater(1)

a log analyser for MTA logfiles

## NAME

anteater — a log analyser for MTA logfiles

## SYNOPSIS

**anteater** \[**--domain=yourdomain.xxx --aliases-file=/home/myself/aliases --analyse-all --limit=NN --filter-file=/home/myself/maillog --report-html --report-html-file=anteater\_report.html**\]

## DESCRIPTION

This manual page documents briefly the  **anteater** commands.

This manual page was written for the **Debian** distribution  because the original program does not have a manual page.

**anteater** is a log analyser for MTA logfiles (for example sendmail). The tool is written in 100% C++ and very easy to customize. Input, output, and the analysis are modular class objects with a clear interface. Currently there are modules for reading the syslog format of sendmail that do up to seven useful analyses and write the result in plain ASCII or HTML, to stdout or to files.

## OPTIONS

These programs follow the usual GNU command line syntax,  with long options starting with two dashes (\`-').  A summary of  options is included below.

- **-v**

  Show version of program.

- **-h**

  Show short help.

- **-m**

  Show long help.

- **-mhtml**

  Show long help in HTML format.

- **--syslog-counter**

  Display the linecounter.

- **--syslog-year**

  Set the start year of the syslog file.

- **--lowercase-disable**

  Disable the lowercase filter.

- **--virtuser-file**

  Set a filename and activate this filter.

- **--domain**

  The primary domain of the mailserver.

- **--aliases-file**

  Set the filename for the aliases file.

- **--aliases-scramble**

  Scramble all names for public screenshots.

- **--lt-limit**

  Limit Output to n Lines.

- **--lt-no-delivery**

  Statistic with not delivered mail.

- **--lt-only-no-delivery**

  Statistic ONLY with not delivered mail.

- **--ltd-limit**

  Limit output to n lines.

- **--ltd-no-delivery**

  Statistic with not delivered mail.

- **--ltd-only-no-delivery**

  Statistic ONLY with not delivered mail.

- **--xt-limit**

  Limit output to n lines.

- **--xt-no-delivery**

  Statistic with not delivered mail.

- **--xt-only-no-delivery**

  Statistic ONLY with not delivered mail.

- **--mt-limit**

  Limit output to n lines.

- **--mt-no-delivery**

  Statistic with not delivered mail.

- **--mt-only-no-delivery**

  Statistic ONLY with not delivered mail.

- **--mf-limit**

  Limit output to n lines.

- **--mf-limit-to**

  Maximum recipients shown.

- **--mf-no-delivery**

  Statistic with not delivered mail.

- **--mf-only-no-delivery**

  Statistic ONLY with not delivered mail.

- **--bm-limit**

  Limit output to n lines.

- **--bm-limit-to**

  Maximum recipients shown.

- **--bm-no-delivery**

  Statistic with not delivered mail.

- **--bm-only-no-delivery**

  Statistic ONLY with not delivered mail.

- **--mr-limit**

  Limit output to n lines.

- **--mr-no-delivery**

  Statistic with not delivered mail.

- **--mr-only-no-delivery**

  Statistic ONLY with not delivered mail.

- **--ascii-dateformat**

  Change the default dateformat.

- **--ascii-width**

  Set a new screen width for the ascii output.

- **--html-dateformat**

  Change the default dateformat for HTML report.

- **--html-disable-hr**

  Disable the -hr- tag after every report.

- **--html-tableborder**

  Set the size of the tableborder.

- **--filter-disable**

  Disable all addressfilters.

- **--filter-file**

  Read this file, instead from stdin.

- **--filter-syslog**

  Switch to this filter.

- **--analyse-all**

  Enable all analysis.

- **--analyse-bm**

  Enable this analyse.

- **--analyse-lt**

  Enable this analyse.

- **--analyse-ltd**

  Enable this analyse.

- **--analyse-mf**

  Enable this analyse.

- **--analyse-mr**

  Enable this analyse.

- **--analyse-mt**

  Enable this analyse.

- **--analyse-xt**

  Enable this analyse.

- **--report-ascii**

  Select ASCII report.

- **--report-ascii-file**

  Write all output from ASCII report to this file.

- **--report-bm**

  Change the report for this analyse only.

- **--report-html**

  Select HTML report.

- **--report-html-file**

  Write all output from HTML report to this file.

- **--report-lt**

  Change the report for this analyse only.

- **--report-ltd**

  Change the report for this analyse only.

- **--report-mf**

  Change the report for this analyse only.

- **--report-mr**

  Change the report for this analyse only.

- **--report-mt**

  Change the report for this analyse only.

- **--report-xt**

  Change the report for this analyse only.

## SEE ALSO

sendmail (8)

## AUTHOR

This manual page was written by Andrea Capriotti a.capriotti@nettuno.it for  the **Debian** system (but may be used by others).  Permission is  granted to copy, distribute and/or modify this document under  the terms of the GNU Free Documentation  License, Version 1.1 or any later version published by the Free  Software Foundation, with no Invariant Sections, no Front-Cover  Texts and no Back-Cover Texts.
