Query the windows registry with python

No Comments

To get values from the windows registry using the python language use snippet below.

This was tested with Python 2.6

References: http://docs.python.org/library/_winreg.html

Postfix Quick Reference

No Comments

These are the most usefull commands for Postfix queue management:

Print a queue: postqueue -p

Delete a message: postsuper -d <Queue ID>

Delete all messages: postsuper -d ALL

Display a message: postcat -q <Queue ID>