I've also got a beta version of blosxthis that includes support for saving and linking jpeg attachments. That code lives here. It's an ugly perl hack, but should be safe.
blog-this: passwordAnything you want as your Blog entry Subject Line
Body of Blog entry starts here and goes on for as many lines as you want.
kill-this: password filename
edit-this: password filenameNew Subject (that you cut & pasted from the current subject)
New Message body (that you cut & pasted & edited from current message body )
echo "|/path/to/blosxthis.pl password /path/to/blosxom-dir"> $HOME/.qmail-blog
echo "|exec /usr/bin/procmail || exit 75" > $HOME/.forward
:0
* ^Subject:\ *blogthis
|/path/to/blosxthis.pl password /path/to/blosxom-dir
:0:
*
$DEFAULT
chmod 0600 .qmail-blog
If you are one of the people who do worry, here's the high tech solution. Instead of mailing the password every time, we hash (encrypt) the password 20 times and print out a list of 4 digit hashes. Print out & carry this list or put it on your Palm pilot. The first time you want to send a blog entry, you use the 20th hash and scratch it off the list. The second time you use the 19th and so on. If you forget where you are on the list, jump down to a low number. You can always go to a lower number, but you can never reuse a number or jump back up to a higher number. And neither can an atacker, which is the whole point.
When you've used up your list of 20, just generate a new list of 20 or 200 or however many you want.
You can generate the list of hashes with the buildhash.pl program. This program also asks you for the name of your count file, which keeps track of how many hashes you've generated and how many you've used.
You also need to edit the line in your mail forwarding file to include the
path to the count file.
|./blosxthis password /path/to/blogdir /path/to/countfile.
Blosxthis
Copyright 2002, tenhand.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.