email2wordpress.py - emailblogging
Thursday, April 7th 2005
I need a way to post messages to this blog by email. I am sure there are hundreds of variants of this script on the net already, but I [assembled my own](http://www.orakel.ntnu.no/~havardda/kode/?navn=email2wordpress.py) As usual, it is written in [python](http://python.org/).
It expects email messages to show up on _standard input_, and will post them to the blog specified. (Of course, you don't have to use it in your _dot-qmail_ file, all it does is read _standard in_...)
### Installation
For qmail, do this:
1. create a file called ~/.qmail-thesecretblogaddress, and put into it
2. `|/home/user/path/to/script [name of category]`
Now all emails to _yourusername_-thesecretblogaddress@yourdomain.com end up on your blog under the given category :)
Remember to *include the pipe*, and to *keep your blogpost address secret*!