Sign inSign up

marcelofmatos/awstats_postfix

By marcelofmatos

•Updated about 10 years ago

This is a simple way to analysis the postfix / zimbra log in a full graphic web page.

Image
2

467

marcelofmatos/awstats_postfix repository overview

⁠Awstats and postfix / zimbra

This is a simple way to analysis the postfix / zimbra log in a full graphic web page.

⁠Config

Install⁠ docker in your mail server.

Edit file awstats.linoxide.conf and change SiteDomain

SiteDomain="example.com"

⁠Run with your own config

If your log save in path: /var/log/mail.log, and you can mount this file to the awstats server for analysis use.

docker run -d --name awstats --hostname ServerName \
  -v /var/log/mail.log:/var/log/mail.log \
  -v /path/to/your.conf:/usr/lib/cgi-bin/awstats/awstats.linoxide.conf && \
  -p 8080:80 marcelofmatos/awstats_postfix

In this command, you will also run your server into host port 8080.

⁠With docker-compose

The docker-compose.yml is a file example to run container with docker-compose up

⁠Browse

http://your-awstats-ip-addr:8080/cgi-bin/awstats/awstats.pl?config=linoxide

Thanks to linkerlab⁠

Tag summary

Content type

Image

Digest

Size

216 MB

Last updated

about 10 years ago

docker pull marcelofmatos/awstats_postfix