PrePflog Reference documentation

From voipsupport
Jump to navigation Jump to search

Use -help for the options.

Typical usage with pflogsumm -d yesterday /var/log/mail | pflogsumm

Typical usage with awstats

In awstats configuration file set:

LogFile="/usr/local/bin/ < /var/log/mail | perl /usr/local/awstats/tools/ standard |"

Note for Debian users

(courtesy of Corné van Eeden)

Debian users: make sure the libdate-calc-perl package is installed.

Usage on debian with default amavis and postfix installation (Tested on Sarge):

LogFile= "/usr/local/bin/ < /var/log/ | perl /usr/share/doc/awstats/examples/ standard |"