Category Archives: Linux

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: [...]

Limit total bandwidth on Linux

Want to limit the total bandwidth available to a Linux server, and don’t want to do it at the switch or router? Here’s how!

Making your webserver a little bit more secure.

The most common attack vector on Linux web servers, is to get something uploaded onto the server that can then be executed. Most of these automated attacks try to put their payload into /tmp, which is universally writable by any user, and then execute it. But what if they couldn’t execute it?