Archive for March, 2004

simple cool python

Thursday, March 18th, 2004

Ok, this has been mentioned elsewhere already, but I thought I would post it to my site too. Got Python? (get it if you don’t!) Need a quick webserver? (who doesn’t!?) Try this from the command line:
python -c ‘import SimpleHTTPServer;SimpleHTTPServer.test()’
Bam. Instant web server. Serving on port 8000 from the directory [...]

milter, milter man

Thursday, March 18th, 2004

My milter had a hiccup today. I had it inserting a warning message into the first payload of a MIME multipart email if that email contained a .zip attachment - assuming that the first payload was the message body - wooops. So now, it itterates through the email.Message.Message object with the Message.walk() method [...]

sendmail milters and python

Wednesday, March 17th, 2004

Wow - it’s been a while since I have said anything.
Moving on - I have been doing some stuff at work with python and the senmail mail filter API (called milters).. I have created a milter that examines email messages and strips off dangerous attachments (exe, pif, scr - the stuff of viruses), inserts [...]

earth to moonbase

Monday, March 1st, 2004

So just because I haven’t been blogging doesn’t mean that nothing has been going on. Just to set the record straight.
From most recent to the other stuff:
We just had a great visit with Steve and Jen. They came and spent a few days with us. It was a good time as always. [...]