Archive for 2010

Exchange 2007 – Renewing self signed SSL

If your running Exchange 2007 and you don’t really have the need for an SSL that’s issued by a valid CA, then you can just renew the self signed one that’s automatically generated on server build.  Most devices are happy to connect to an unsigned SSL once an exceptions been made, but they may well […]

Bulk DNS Query in Plesk

I put this command together to grab DNS information relating to all of the domains hosted on a Plesk server.  Useful if your migrating to a new server and need to know where to update the DNS zones.  This checks the nameservers but can easily be substituted with A or MX: for domain in $(mysql […]

IIS – The network location cannot be reached

I had a strange error in IIS6 today when adding a secondary IP.  The site wouldn’t start and gave the error “The network location cannot be reached”.  The IP was correct, pingable and the IIS host headers were all fine. I had to install the Windows 2003 support tools to fix this.  They can be […]

Spamassassin 2010 bug

A bit of an oversight – old versions of Spamassassin have an inbuilt rule to block emails with a future date.  Not a bad idea really, but the rule starts blocking things from 2010!  The rule should be fixed in newer versions, however Plesk for example uses a fairly old version. You can edit the […]

qmail adds number to recipient header

qmail sometimes adds a number to the recipient header when delivering mail locally, so for example, may become  This isn’t such a problem when mail is just being used locally, but if your using a POP connector to download mail to an Exchange server for example it will cause issues with it getting […]

Plesk 9 – Horde webmail configuration disappears

Strangely all of the webmail conf files for horde disappeared in my Plesk 9 setup. This regenerated them: for domain in `mysql -uadmin -p$(cat /etc/psa/.psa.shadow ) -Dpsa -e’select name from domains d, dom_param dp where and dp.param=”webmail” and dp.val=”horde”;’`; do /usr/local/psa/admin/bin/webmailmng –set-default –vhost-name=$domain –name=horde ; done Update: seems to be a result of hotfix […]

Plesk 9 – Migration Manager set source directory

For some bizarre reason The Plesk 9 migration manager has taken away the functionality to specify the partition used on the source server.  Not very handy if you have partitions running low on disk space.  I’ve found two solutions that seem to work: On the target server edit /usr/local/psa/admin/share/migration-handler/ Modify the following line and update […]

List Perl modules installed

Handy command to list all Perl modules installed. perl -MFile::Find=find -MFile::Spec::Functions -lwe ‘find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC’