Was playing around with rbldnsd to setup a black list and whilst preparing the startup configuration file I was having troubles starting rbldnsd with ‘/etc/init.d/rbldnsd start’. OS: Ubuntu 10.04 Configuration file: /etc/default/rbldnsd Error message received: Starting rbldnsd: -r rbldnsd: listening on 192.168.1.1/53 rbldnsd: invalid zone spec `/home/rbl/’ It turns out I had a very simply [...]
Entries Tagged as 'Coding'
rbldnsd: invalid zone spec
December 16th, 2010 · No Comments
Tags: Coding · Linux · Operating System
MySQL GROUP BY useful article
December 15th, 2010 · No Comments
Being a bit rusty on database queries I found myself needing to use a MySQL GROUP BY statement and wanted to understand it a little better. This article was excellent: http://dev.mysql.com/tech-resources/articles/debunking-group-by-myths.html
Tags: Coding
MIME::Lite::TT instead of Email::Sender::Simple / Email::Simple
December 5th, 2010 · No Comments
For some reason I was having troubles with Email::Sender::Simple / Email::Simple which were being very fussy about the syntax of the from address and continually gave me “no sender” and other errors. I didn’t have time to look into this so decided to try something else. Stumbled across: http://www.revsys.com/writings/perl/sending-email-with-perl.html Which was discussing using MIME::Lite::TT::HTML to [...]
Tags: Coding
Perl Template Toolkit 2 Dumper
December 2nd, 2010 · No Comments
I generally don’t use it enough, so, keep forgetting how to dump the contents of a variable with template toolkit. [% USE Dumper %] [% Dumper.dump(variable) %] This is a Template Toolkit plugin to Data::Dumper. Very useful. http://template-toolkit.org/docs/modules/Template/Plugin/Dumper.html
Tags: Coding
Perl Advent Calendar
December 1st, 2010 · No Comments
Learn something every day this month with the Perl Advent Calendar 2010: http://perladvent.pm.org/2010/
Tags: Coding