From owner-freebsd-questions@FreeBSD.ORG Wed Sep 16 13:49:49 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 863A41065672 for ; Wed, 16 Sep 2009 13:49:49 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD868FC16 for ; Wed, 16 Sep 2009 13:49:48 +0000 (UTC) Received: from significant-gravitas-shortfall.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n8GDnZk4087508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Sep 2009 14:49:45 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n8GDnZk4087508 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1253108985; bh=o+bBfnF/b3jhiArLEbngV82Qh/IN+xLpvzrDar86lQQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AB0ECE8.2080905@infracaninophile.co.uk>|Date:=20W ed,=2016=20Sep=202009=2014:49:28=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090824)|MIME-Vers ion:=201.0|To:=20Steve=20Bertrand=20|CC:=20"ques tions@freebsd.org"=20|Subject:=20Re:=20New= 20mail=20server=20setup|References:=20<4AB0584D.3050206@eagle.ca>= 20<4AB0844B.5080804@infracaninophile.co.uk>=20<4AB0E97B.4060606@ib ctech.ca>|In-Reply-To:=20<4AB0E97B.4060606@ibctech.ca>|X-Enigmail- Version:=200.95.7|OpenPGP:=20id=3D60AE908C|Content-Type:=20multipa rt/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"applicatio n/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigD2C71DFF63 5354C4A7387636"; b=W+K+eC2p+JQQKiSRWT62nkqa6yBPEJMp+Hc9NCzZJ1lecS6cfOp89hG0K9Waxg3Kt bXeLDcI8HntrZJ8x6njFyZ47M6yLmI4JMXafYN6iu/EFZl8GZBD2iKiFy5ATdqyLlZ zBHAcn3wCOX9PJBCtkNt4cYvTyEOf6bqkr1j4bYY= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host gateway.ash.thebunker.net [213.129.64.4] claimed to be significant-gravitas-shortfall.thebunker.net Message-ID: <4AB0ECE8.2080905@infracaninophile.co.uk> Date: Wed, 16 Sep 2009 14:49:28 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090824) MIME-Version: 1.0 To: Steve Bertrand References: <4AB0584D.3050206@eagle.ca> <4AB0844B.5080804@infracaninophile.co.uk> <4AB0E97B.4060606@ibctech.ca> In-Reply-To: <4AB0E97B.4060606@ibctech.ca> X-Enigmail-Version: 0.95.7 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD2C71DFF635354C4A7387636" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: "questions@freebsd.org" Subject: Re: New mail server setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2009 13:49:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD2C71DFF635354C4A7387636 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Steve Bertrand wrote: > What I don't have, and have always wondered about, is live redundancy > for the IMAP/POP services. >=20 > I know that this would be a challenge to some degree considering the > high volume of data changes. >=20 > Perhaps a carp(4) setup between a couple of MDA's, where when the > primary is up, a constant rsync pushes the data to the backup. Or > perhaps a combination of rsync for manual changes, and a method to have= > the primary write the emails to a local disk, and a network disk > simultaneously? >=20 > If anyone has a setup that has redundancy for their IMAP/POP services, > and a method to keep the changing data relatively up-to-date, I'd love > to hear about it. Now, that is a different kettle of fish. This is a job for cyrus imap. I suggest googling for 'cyrus murder' -- this is almost, but not quite, a fully resilient mail store / IMAP system. Your mail store is divided into frontend IMAP protocol servers which handle user auth etc. and back-= end mail stores. The protocol layer servers are fully resilient and you can fail over a user session at will, but the mailstores don't quite get ther= e: mail is replicated across different stores, but actions modifying the mai= l store are not transactional across all the mail stores. Or in other words= , you can lose a small amount of data if one of the mail stores goes bang a= t precisely the wrong moment. Even so, it will do better at keeping multip= le copies of a mailstore in synch than any locally scripted rsync setup. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK --------------enigD2C71DFF635354C4A7387636 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqw7O4ACgkQ3jDkPpsZ+Vaq3QCeO7tofnQr5/B/zqMndEG7VUaT t74An1oHMysFJioBQJP9BqIAIYQCUloT =sxed -----END PGP SIGNATURE----- --------------enigD2C71DFF635354C4A7387636--