Postfix ZenPack

Basic monitoring of Postfix queues and logged throughput


This ZenPack is developed by the Zenoss user community and supported via our online forums. Zenoss, Inc. does not provide direct support for this ZenPack.


Version 1.0.5- Download
Summary of changes: ZenPack now honors zCommandUsername
Released on 2015/03/23
Compatible with Zenoss Core 4.2.x



This pack relies on parsing log output. Various distributions customize or change the log output, and formatting of various daemons, especially core daemons like Postfix. This ZenPack has been tested against the logging in CentOS 6 only (to date). Please e-mail me for more/other support. If you need more log parsing, I will need a fairly large ~10mb mail log.


Accept your postfix server's ssh fingerprint if you have not, and create an ssh key with no password to automate logins. Add this template to your Linux server running postfix.


Data PointDescription
QueueLength of Queue from 'postqueue -p'
SentE-mails sent from the mail server
ReceivedE-mails received by the mail server
Spame-mails marked as spam by the mail server

Bugs/Feature Requests

e-mail akirch at zenoss dot com


Normal Installation (packaged egg)

  1. Download the appropriate egg file for the version of Zenoss you are running.
  2. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  3. Install the ZenPack:
    $ zenpack --install ZenPacks.trelane.Postfix-*.egg
  4. Restart these services:
    $ zenoss restart

Developer Mode Installation

In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:

  1. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  2. Start by cloning the upstream repository:
    $ git clone https://github.com/trelane/ZenPacks.trelane.Postfix
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.trelane.Postfix
  4. Finally, restart these serivices:
    $ zenoss restart


This ZenPack is developed and supported by the Zenoss User Community. Contact Zenoss to request more information regarding this or any other ZenPacks. Click here to view all available Zenoss Community ZenPacks.