Warning: This post contains material of a technical nature, if you start reading and feel dizzy or nauseous then stop reading immediately and go and lie down.
This is a follow up to my previous post where I outlined a prototype of an extension for WPMU which allowed posting to multiple blogs from one centralised POP3 account which collected all posts from all users of all blogs. This is very different from the usual way of doing it where you either go out to get the emails from external email addresses or you have multiple local accounts.
Well the prototype has, like Frankenstein’s Monster, come alive and it’s now got configuration screens and lots of rich techy goodness to it.
I’m not going to go over the instructions on how to configure the MTA again, those are documented on my last post, and in the notes in the downloadable archive :
Post by Email Post by Email-v1.zip
The Archive also contains instructions on where the TWO files need to be placed for the system to work.
What I’m going to cover here is the new features that I’ve added since the last post. Yes I have way too much time on my hands, but this is keeping my brain sharp so its all good at the end of the day.
These can be broken down into to distinct groups which are reflected in the two new options that will appear on the Settings menu:
Blog Level Options
These are options which are set by the blog administrator or blog owner:
Default Category for posts : This is a drop down of all categories and you select one to be the default category for posts without a category override
Optional Categories: This is a tick box list of all other categories in your blog, Toggle the ones you want users to be able to use in their category override.
Allow Posting By: This is a tick box list of all the user who are members of your blog. Toggle the ones you want to be able to use the post by email. This will include YOUR address and by default no-one of them are checked (which basically deactivates the system for your specific blog).
User Level Options
These are options which are set on a user by user basis.
Personal Identifier : This is a optional text string which allows users to “secure” their posts. If this has been set then posts from them will be rejected outright. So set this to something good but memorable as you’ll have to provide it for each post.
Alternative Email: This allows you to nominate a secondary email address which the system will accept emails from. If you do not set this then posts will only be accepted from the email address registered to your account.
Additional Posting options
To support the “new” features there are now some additional posting options which you set at the top of your email.
wppbm-categories: A comma separated list of category names for this post. NOTE: This is names not numbers which makes it easier to remember (or are you so sad that you know the underlying IDs of your categories). You’ll find a list of the available categories on your user settings page. So assuming that the Administrator has enabled them you could do something like: wppbm-categories : computing,witterings which would post your post with those categories. If you do not specify this line then the default category set by the Administrator will be applied.
wppbm-pid: Your PID. If you’ve set your PID then you have to provide it here. If you’ve set it and don’t include it (or get it wrong) then your post is toast!
So that’s basically it. I’ve created a dedicated Post by Email Page where I’ll always list the current version and the bug fixes/enhancements.
So download it, configure it and play with it and bounce bugs back to me as comments!