Category Archives: Coding

Postfix Mail Queue statistics via SNMP

This post documents a small shell script designed to provide basic mail queue statistics via SNMP for Postfix. Requirements Postfix Net-SNMP Installation The code can be downloaded here. To install, place the script anywhere in your system and edit it to provide the correct path to the “qshape” perl script that comes with Postfix. Note: [...]

PHP :: Convert a string to NATO alphabet

Giving a password over the phone to someone is always painful, and I can never remember the NATO alphabet (Whiskey Tango Foxtrot!). The following PHP function will convert any string into the NATO alphabet for easy recitation.

Spamhaus DROP list

The Spamhaus DROP list (Don’t Route or Peer) is still awaiting it’s BGP feed for network providers. So in the meantime, I’ve knocked up a little PHP script that downloads the DROP list from Spamhaus and spits out either a list of IPtables rules or a Cisco access control list. View Source: http://www.potato-people.com/code/misctools/spamhausdrop.phps Download: http://www.potato-people.com/code/misctools/spamhausdrop.tar.gz

Reservoir

In my spare time, I’m working on a tool for photographers for managing photo collections. I was unable to find one that matched my requirements in the open source world, and frankly didn’t like the look of a lot of the commercial ones. Plus, making it web based means I can access my photos from [...]