Office 365 and postfix – revisited

Since I wrote this post (a long, long time ago) – Office 365 now adds support for creating a trusted connector between your Linux/postfix environment and Office 365.

Much, much easier than before.

So as a reminder for me next time:

  • certificate
  • SASL for username/password
  • Postfix settings
  • Set up Office 365 connector and trusted IP end point

Uploading mysql dumps to GoDaddy

Strictly a console guy – I’ve been struggling to get the big blog database dumps up to the new hosting. phpMyAdmin claims to support zipped dumps – but that doesn’t work. There are also timeouts in the console for the upload and import.

I finally fixed it by using scp to move the non-compressed dump to the hosting server; and then using the Hosting Control Center to restore the dump as if it was a backup.

It’s running right now – so hopefully I’ll have happy blogs again soon.

WordPress filesystem abstraction – and automatic updates

Way back in the not-so-distant past the only way to update WordPress was to download (wget/ftp) updates, plugins and themes, unpack them and perform the update/install.

It is possible to pull the latest builds from subversion – but that’s really focused on the core hacker.

New in WP 2.7 was the ability to update automatically.

There were a few challenges with this – permissions, PHP modules, various host implementations – but I found it generally quite successful.

I found a great FAQ here –

From the same author is a very cool plugin – core-control – it lets you enable and disable various transports – and shows the status of them.

WordPress 2.3.1 and Windows Live Writer

Just a quick note; WordPress 2.3.1 adds support for WLW Keywords.

Some nomenclature changes – tags to keywords; but it works just great.

Here are the Keywords in WLW:


… and the corresponding tags in WordPress:


Securing a WordPress blog

 I’ve been hosting a family blog and photo site for a good friend for over a year.

They decided recently to ‘lock down’ the site and restrict access to both the blog and the photos to family and friends only.

I spent some of yesterday doing this.

I’ve extensively use WPG2 to integrate WordPress and Gallery2 – and I use the permissions and roles within Gallery2 to successfully limit access to pictures. The most striking example of this is with my sisters Cub Scout web site; non members can read blog posts; but not view pictures.

Securing the WordPress side was a little more tricky. Drupal has a very strong permissions module -especially useful for the anonymous user. Nothing like that for WordPress.

In the end I used the post-levels plugin from Filipe Fortes – it needed some SQL mungling to work with WordPress 2.3 – but the end results were pretty good.