Jeremy’s World

Jeremy de Oliveira-Kumar’s website about interesting stuff

Entries Comments



Cryus Mail server back-up script

25 April, 2008 (21:15) | E-mail, Linux, Shell Scripts | By: Jeremy

During my early days mucking around with linux in attempt to find the best pieces of software for a range of different tasks, I stumbled upon cyrus mail server, the Carnegie Mellon Unversity’s implementation of an IMAP server.

Having already tested the Washington University implementation of IMAP as well as Dovecot, I was still unconvinced by the IMAP protocol, particularly its implementation on UNIX-based systems.  Cyrus changed this point-of-view significantly.  With a closed database, capable of easily interfacing with SMTP servers such as postfix and sendmail, cyrus proved to be a robust system and with the latest versions including the possibility of scaling and distribution, it was for a long time Excel Building Management’s choice mail server.

The only problem was that the facilities for backing up a cyrus server were almost non-existent.  The only script/software I could find that even came close was mailbfr.  Unfortunately, the script was written for Mac OS servers and therefore needed some tuning and tweaking to port to a Linux flavoured system.  Thus, my programming skills came to the rescue and cyrus-backup was born.

Cyrus-backup is a simple port of an earlier version of mailbfr to the linux environment.  Although not capable of a hot backup, it is still extremely efficient at providing a full backup of an entire cyrus database including the possibility of storing users’ filtering rules.

Cyrus-backup has saved me on more than one occassion from near disaster and running it with a cron-script once a day at 2am made my life of mail server management a dream.

So now, I am providing a copy of the script, optimised for Ubuntu (but easily customisable) to all those who use cyrus servers as a solid method of providing backup.  The script is quite self-explanatory so I have not provided documentation at this stage, although if I do make changes in the future, this may be included.

You can find a copy of the script on the linux scripts download page.

Computing, Programming and Design

23 April, 2008 (03:39) | Uncategorized | By: Jeremy

This area of the site will cover issues to do with programming including resources, techniques, tricks and assorted other goodies.  The other side of the coin will look at good design both from an aesthetics point-of-view as well as exploring modelling design for frameworks and structures of various kinds.

You can now get access to linux scripts written or modified for use on linux by me.

Hello world!

22 April, 2008 (22:00) | News | By: Jeremy

Welcome to my website!  As I work to get the site up to scratch over the course of the next few weeks, feel free to drop by and take a look and maybe even suggest some ideas I may have missed.

During the course of the next few weeks I will be adding information on:

  • Badware and Computer Security
  • Server and Network Administration
  • Information Visualisation
  • Mathematics
  • Cells and Proteins
  • Apple and Macs
  • Languages and Travelling
  • Programming and Design
  • Football and Sport
  • XML and Data Exchange
  • Multimedia, Music and Videos
  • What’s in the News?
  • Politics and International Relations
  • and probably more…

A la prochaine…