Skip to content

Index

Postfix queue: sender and recipient address

I always seem to forget this, and the mailq command is not clear, so here it is: when you type mailq on a postfix server, the first address listed is the sender, the second the recipient. Read More »

Adding SPF support to Postfix

(Hmm, this suggests the python version might be better). Read More »

Tracking Xen domU’s with munin

To view statistics of your xen server with Munin (source): Read More »

Getting a better MySQL prompt

When you want to see which user you are and which database you're working with, put this in .my.cnf: prompt=(\\u@\\h) [\\d]>\\_ Read More »

Sending yourself a test virus

I found this handy little site to send yourself a harmless test virus. Read More »

Installing a commercial SSL certificate in Zimbra

I installed a commercial (free) SSL certificate from Startcom SSL in Zimbra. I basically followed this, except the java keytool thing. I don't know why that is necessary... I did this on Zimbra 6.0.10_GA_2692.UBUNTU8_64 UBUNTU8_64 FOSS edition. Read More »

Installing Munin-node on a Debian or Ubuntu machine

If you want to gather statistics on a machine with a Munin server, install munin node: aptitude -P install munin-node munin-plugins-extra Read More »

Fixing locale message in Ubuntu when logging in or SCPing

I've encountered this error occasionally when loggin in: -bash: warning: setlocale: LC_ALL: cannot change locale (nl_NL.UTF-8) Read More »

Getting a Xen hvc0 on a stock Ubuntu

When you install Ubuntu in Xen with xen-create-image, the console is automatically handled. If you want to add a console to a stock-installed Ubuntu, add this file to /etc/init and call it hvc0.conf: Read More »

Useful extra Nagios commands

Here are some useful extra nagios commands I often use: define command{ command_name notify-host-by-sms command_line /usr/local/sbin/send-sms.sh -n $CONTACTPAGER$ -m "$HOSTNAME$: $HOSTSTATE$" } Read More »