From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 15:38:37 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0F9F16A468 for ; Mon, 19 Nov 2007 15:38:37 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7253813C442 for ; Mon, 19 Nov 2007 15:38:35 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id lAJFc7lW001763; Mon, 19 Nov 2007 16:38:07 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id lAJFc7d1001760; Mon, 19 Nov 2007 16:38:07 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 19 Nov 2007 16:38:07 +0100 (CET) From: Wojciech Puchar To: Ted Mittelstaedt In-Reply-To: Message-ID: <20071119162823.O1476@wojtek.tensor.gdynia.pl> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Olivier Nicole , freebsd-questions@freebsd.org Subject: RE: What server for a mail server 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: Mon, 19 Nov 2007 15:38:37 -0000 >> >> I have a project where I should set-up a mail server for approximately >> 12000 users, 4000 virtual domains, 15000 messages per day, 700 MB >> traffic per day. 200 mails*users/day is safe assumption. maybe 1-2 of them won't be spams means about 2.5 million mails a day, assume 5 millions because there are hours of low and high load. i would use jail for a virtual domain and users on those - in this jail, use nullfs to share /usr (and save memory), sendmail+procmail+spamassassin works fine. it WILL survive this on average modern machine (but with 4 or more disks) without problems, unless spamassassin turned off. if not - it will need possible a few machines. POSSIBLY on one, with 2-4 cores and lots of RAM, and properly configured spamassassin. having every domain as jail makes it easy. it server can't cope with this, add second and move some of it's jail to other. moving jails between servers is very easy. for mail reception i would recommend dovecot. it just works (TM), supports imap, pop3, imap/ssl, pop3/ssl. for webmail (if needed) - sqwebmail. it it's based on php or other crap, just normal C program that runs quick. webpage look can be customized by editing HTMLs. BTW - anyone knows faster antispam software than spamassassin, but still very good. spamassassin is mostly perl so it's bulky and slow, but it's excellent in not removing true mails, while removing spam very well. of course sa-update&sa-compile is a must. hope it helps. i don't have such a load but about 1500 users total, running on single CPU (P4) machine with 1GB RAM and 3 disks,doing other things in the same time, and it doesn't have a problems doing this. with spamassassin and arcavir (polish anti-virus program)