Skip to content

Small utility to parse a postfix maillog file and display stats

Notifications You must be signed in to change notification settings

lkeijser/mailtop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

mailtop

Mailtop is a small script that will parse a (postfix) maillog file and produce a top 10 of:

  • mail from
  • mail to
  • delay
  • smtp codes
  • deferred reasons

usage

$ ./mailtop.py --help
Usage: mailtop.py -f <mail logfile>

Options:
  -h, --help            show this help message and exit
  -f LOGFILE            Logfile name
  -e                    Display an example logfile line with columns separated
  -D, --debug           enable debugging output
  -i, --ignore-id       Ignore Postfix mail ID (mails with the same ID are
                        counted seperately
  -t TOPCOUNT, --top=TOPCOUNT
                        Produce a top TOPCOUNT instead of 10 (default)
  -v, --verbose         Be more verbose

About

Small utility to parse a postfix maillog file and display stats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages