From owner-freebsd-questions@FreeBSD.ORG Wed May 4 23:54:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0F8416A4CE for ; Wed, 4 May 2005 23:54:44 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F03B43D58 for ; Wed, 4 May 2005 23:54:44 +0000 (GMT) (envelope-from tummytech@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so191869rnf for ; Wed, 04 May 2005 16:53:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AtqFeRcFDO9KXhVLykR27qZTgQAHB7t7UxcwNxBUOCHJ+IyeDqUAWIZGUy7elO4Pap2pSVwJsXY/Kxu0VqNbv65+KCm425/RDJtLcrk+XxtK/RRgBwTkK5/XTbcNt608OFw7nY4d0OOYbqgtqC6TQehh/JhPQZw5A8RT7uYTNwI= Received: by 10.38.209.54 with SMTP id h54mr1250143rng; Wed, 04 May 2005 16:46:49 -0700 (PDT) Received: by 10.38.88.37 with HTTP; Wed, 4 May 2005 16:46:49 -0700 (PDT) Message-ID: <860807bf0505041646120d4f18@mail.gmail.com> Date: Wed, 4 May 2005 16:46:49 -0700 From: Benson Wong To: "Matthias F. Brandstetter" In-Reply-To: <200505041258.39573.haimat@lame.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200505041258.39573.haimat@lame.at> cc: FreeBSD Subject: Re: installing big qmail server ... where to start? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Benson Wong List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2005 23:54:44 -0000 I run a qmail-ldap installation for about 10,000 users. Each has 100MB of quota. I use 2 LDAP servers, 2 qmail servers and have all the Maildirs stored on a 5.6TB Xserve RAID. There are a couple of issues you will run into here.=20 1. Mass storage. FreeBSD doesn't support file systems > 2TB, at least not that I found decent documentation and support for. 2. Backing up 50,000 Maildirs, where each email is a separate file requires something custom. I use Bacula, a network backup tool, and I instruct it to do a tar-gzip of each Maildir before backup. This adds a bit of overhead, and almost doubles space usage, but it sure beats backing up millions of little 4K - 80K files! 3. There is a MAJOR bug with maildirsize, the quota file. These quota files go out of sync a lot. From a year of statistics about 0.1% of users will likely have out of sync maildirsize files everyday. Who it happens to seems to be random. I wrote a custom script that runs every 15 minutes to clean up the out of sync maildirsize files. Other than those issues my qmail-ldap installation runs super stable. On the two mail servers I have serving up IMAP and POP3, their load hovers around 0.1 to 0.3 barely anything at all. On my NFS server the load is about 0.3... it's barely working too. Hope that was helpful.=20 Ben.=20 On 5/4/05, Matthias F. Brandstetter wrote: > Hi all, >=20 > I have to plan and setup a mail solution for about 50.000 users, here are > some key features requested by our customer: >=20 > - self coded webfrontend w/ webmail and administration (filter, alias et= c) > - 100MB quota per user > - autoresponder > - about 50.000 user > - online backup of data > - some more featuers for web frontend >=20 > Since I happily use qmail for some other (but smaller) installations, I > want to try it with qmail here for this project as well. My only problem > is, I have no clue where to start ... beginning from "should I use 2 > redundant and really strong or some more but cheaper servers?" to "which > qmail distributions and patches should I use (ldap, mysql, ...)?" and "ho= w > to store data (mails) and do online backup w/o downtime?". >=20 > I know you can't give me _the_ solution for this issue, but I am thankful > for any hints and internet links on this topic. >=20 > I am sure you guys can help me :) > Greetings and TIA, Matthias >=20 > -- > And thank you most of all for nuclear power, which is yet to cause a > single proven fatality, at least in this country. >=20 > -- Homer Simpson > Oh Brother, Where Art Thou? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >=20 --=20 blog: http://www.mostlygeek.com