I’ve been spending most of my time over the last week or so trying to get my new server up and running. There’s so many little things here and there to do, it seems like it’s going to take forever.
However, this is what I have currently managed to do:
* Install postfix and cyrus with webcyradmin, SpamAssassin and Anomy Sanitiser.
* Set up virtual hosting with Apache, and move my blog to stuartherring.com (in case you hadn’t noticed)
* get awstats working to give me pretty graphs of the virtually non existant traffic
* Find a way of doing nightly backups.
* Set up webmail (horde / imp).
The backups in particular were a bit of a battle. I currently use bacula to do automated nightly backups at home, so I figured I’d just install the bacula file daemon on wishmaster, and add a new job to the configuration. But no!. it’s not as easy as that.
It seems there’s some weird 3 way thing that happens between the director, the file daemon, and the storage daemon, that means that the director sends the address of the storage daemon to the file daemon, which then attempts to connect back to the storage daemon.
The problem with that, is that since the director and storage daemon are both in my private LAN, the file daemon gets sent an address it can’t possibly connect to.
My first solution was to define a new storage record in the director config file that gave the outside name of my firewall as the storage daemon, and then do port forwarding on the firewall. But that didn’t work, as the director also wanted to connect to the outside address, and I’ve never managed to figure out how to get port forwarding that works externaly, to work internally as well.
Anyway, the final solution was to rysnc the stuff I wanted backed up to a local directory on my backup server, and have the nightly job back that up. That took a bit of fiddling with rsync, ssh, chroot and the firewall before I was happy, but it seems to work well enough, and should be secure enough too.
Most of today was spent working on a little java program to analyse the performance of Spam Assassin. You point it at an IMAP folder with spam in it, and it gives you stats on the tests that matched, for mails flagged and passed by SA.
I’m intending to extend it so as to be able to give it a folder with good messages as well, and have it parse the SA config file to get the current scores, enabling you to experiment with different settings to see what effect they would have on your current mail.
I’ll probably make it available up here somewhere when I’m done with it.
I’ve also been experimenting with Zope and Plone over the last week, but I’ll talk about it later, as there’s probably a fair bit to say, and I need to go to bed right now, as I have to drive to Sydney tomorrow.
-
Articles
- March 2011
- July 2010
- May 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
-
Meta




