From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 20:19:57 2010 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 9DAFA1065674 for ; Tue, 21 Dec 2010 20:19:57 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id 8594F8FC08 for ; Tue, 21 Dec 2010 20:19:57 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp023.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LDS006W2OH7LN70@asmtp023.mac.com> for freebsd-questions@freebsd.org; Tue, 21 Dec 2010 12:19:56 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-12-21_07:2010-12-21, 2010-12-21, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1012210107 From: Chuck Swiger In-reply-to: <201012211439.09158.mark@msen.com> Date: Tue, 21 Dec 2010 12:19:55 -0800 Message-id: References: <201012211439.09158.mark@msen.com> To: Mark Moellering X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: E-Mail scaling question 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: Tue, 21 Dec 2010 20:19:57 -0000 On Dec 21, 2010, at 11:39 AM, Mark Moellering wrote: > My company needs a [new] e-mail solution for a product rollout. Rather than > have a few e-mail domains with lots of addresses, the solution we need is for > a very few (mostly one, very rarely more than 3) accounts on upwards of tens > of thousands of domains. I don't see much value in setting up tens of thousands of what sound like vanity domains, but you'll need postmaster@ working at each of these domains to be even minimally compliant with RFC-822/2822/etc, and most people expect abuse@ to work also. > I can't find any info on scaling sendmail or postfix to this many domains. If > anyone has any info, knowledge, horror stories, etc. It would be greatly > appreciated You'll want to use hash table map type for sendmail's virtusertable or Postfix's virtual table-- see /usr/share/sendmail/cf/README or /usr/local/share/doc/postfix/VIRTUAL_README. > Also, I am assuming that to play nice, we need a dedicated IP per domain, so I > may have to survive setting that up before I even get to the e-mail. If > anyone knows of a legitimate way to set up an e-mail domain on a shared IP and > not have half of the e-mail servers assume we are spammers, let me know. There's nothing unusual about having one IP serve as the MX for many domains. After all, many hosting companies provided a shared email solution. What matters most to spam checking is the mail contents, whether forward and reverse DNS match, whether postmaster@ and abuse@ works, and whether bounces, address verification, etc are handled properly. Regards, -- -Chuck