From owner-freebsd-ports@FreeBSD.ORG Wed Aug 12 23:43:38 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CE9F1065670 for ; Wed, 12 Aug 2009 23:43:38 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id DA7658FC1F for ; Wed, 12 Aug 2009 23:43:37 +0000 (UTC) Received: (qmail 26422 invoked from network); 12 Aug 2009 23:16:55 -0000 Received: from unknown (HELO ?192.168.0.2?) (spawk@69.123.45.64) by acm.poly.edu with AES256-SHA encrypted SMTP; 12 Aug 2009 23:16:55 -0000 Message-ID: <4A834D36.7040408@acm.poly.edu> Date: Wed, 12 Aug 2009 19:16:06 -0400 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.19 (X11/20090108) MIME-Version: 1.0 To: Jeffrey Goldberg References: <70C7249E-1EC4-4D00-BECE-CD30B43436B5@goldmark.org> <20090812154047.a77a1add.wmoran@potentialtech.com> <200908121238.36253.mel.flynn+fbsd.ports@mailing.thruhere.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mail List - Mailman , Mel Flynn , Bill Moran , FreeBSD Ports List , jmelo@freebsd.org Subject: Re: Multiple instances of Mailman on FreeBSD X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2009 23:43:38 -0000 Jeffrey Goldberg wrote: > On Aug 12, 2009, at 3:38 PM, Mel Flynn wrote: > >> On Wednesday 12 August 2009 11:40:47 Bill Moran wrote: > >>> Were it me, I'd add jails to the system. [...] That's obviously not >>> the only way to get what you want, just my >>> suggestion. >> >> And mine. > > Thank you and Bill for the jail suggestion. I've never played with > jails, as I really only have one public IP address available. You could assign each jail an RFC 1918 private address and perform NAT for them on the host system. I do this with PF and it works like a charm. -Boris >> FORCE_PKG_REGISTER abuse will hurt you sooner or later. > > I am living in fear of that. > >> If you must, then set PKG_DBDIR, PORT_DBDIR and PREFIX correctly. > > I don't understand the Package and Port databases well enough to > actually set them correctly, so I do suspect that I am causing trouble > for myself this way. > >> But things get much easier if you use seperate jails and a postfix in >> mailhub mode on the main IP >> if you have only one incoming IP. > > Ah. I hadn't thought of that. I do only have one IP. I hadn't > realized that I could set up private addresses on the same host. > Would the postfix on the main IP be able to run scripts that are on > individual jails? If not, I'd have to set up a listening postfix in > each jail which would accept mail forwarded to it only from the main > IP. For outgoing mail, mailman can talk SMTP to a "remote" mail > server. Another point of confusion with jails is that the HTTP > interface for mailman would need to be on the public IP, but would > need to access the appropriate mailman data that live within jails. > > So I really think that unless I can do full jails, each with their own > SMTP and HTTP daemons on their own public IPs, this would be very > complicated to maintain. But I am only guessing here as I don't > really know what can and can't be done easily with jails. > > Cheers, > > -j >