pyqueue – Simple Postfix queue management

The pyqueue package makes it easy to view and control Postfix mails queue. It provide several classes to store, view and interact with mail queue using Postfix command line tools. This module is provided for automation and monitoring.

The pyqueue package defines the following attribute:

pyqueue.DEBUG = False

Boolean to control activation of the debug() decorator.

The pyqueue package defines the following decorators:

pyqueue.debug(function)[source]

Decorator to print some call informations and timing debug on stderr.

Function’s name, passed args and kwargs are printed to stderr. Elapsed time is also print at the end of call. This decorator is based on the value of DEBUG. If True, the debug informations will be displayed.

The pyqueue package provides the following submodules: