Posterous and single user Drupal blog

Posting to Drupal via Posterous requires that the blog module is enabled which is not what you want if you have a single user blog/site. Each new Posterous post will be created using the "blog entry" content type. I only use page and story content types so those entries ends up in it's own blog page.

A quick googling and I found the solution for single drupal users here: http://bmannconsulting.com/2830/web-development/posterous-doesnt-work-drupal-unless-blog-module-enabled

You only need to add a few lines to the blogapi.module and you can also disable the blog module.

Starting from line 187 in the blogapi.module:

...
if ($blogid !== 'blog') {
  if (($error = _blogapi_validate_blogid($blogid)) !== TRUE) {
    // Return an error if not configured type.
    return $error;
  }
} else {
  // change 'story' to your content type of choice
  $blogid = 'story';
}
...

I will probably initially only use Posterous to push photos that I want to upload to my site and flickr at the same time. It's a great feature to be able to do that using email only!