Archive

Archive for June, 2009

Query the windows registry with python

June 16th, 2009

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

Python

Postfix Quick Reference

June 3rd, 2009

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>

Linux