Postfix, Maildir Replication In Real Time Using ChironFS

In this tutorial I will describe how to set up postfix and maildir which can automatically replicate email when email is delivered. We will not touch the postfix configuration at all. we will manipulate maildir directory behavior using ChironFS, instead.

what is ChironFS?

This the Chiron Filesystem. It is a Fuse based filesystem. It’s main purpose is to guarantee filesystem availability using replication. But it isn’t a RAID implementation. RAID replicates DEVICES not FILESYSTEMS.

Things we need before installing chironfs

  • fuse
  • fuse-devel
  • fuse-libs
  • ChironFS source/binary from here

Compile ChironFS source

RPM:

$ rpmbuild --rebuild chironfs-1.0.0-1.fc8.src.rpm
$ rpm -ivh /path/to/chironfs-1.0.0-1.fc12.rpm

backup gmail account ke format maildir

pertama enable pop di account gmail : settings Forwarding and POP/IMAP Enable POP for all mail (even mail that’s already been downloaded) kemudian, konfigur ftechmail dan procmail: kita butuh procmail supaya bisa menyimpan emails ke dalam format maildir(1 file untuk satu email, mbox 1file besar yg berisi seluruh email) /home/USER/.fetchmailrc…