From owner-freebsd-ports@freebsd.org Fri Apr 22 11:20:32 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26127B1883E for ; Fri, 22 Apr 2016 11:20:32 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from venus.codepro.be (venus.codepro.be [IPv6:2a01:4f8:162:1127::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.codepro.be", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBEDE1501 for ; Fri, 22 Apr 2016 11:20:31 +0000 (UTC) (envelope-from kp@FreeBSD.org) Received: from [IPv6:::1] (vega.codepro.be [IPv6:2a01:4f8:162:1127::3]) (Authenticated sender: kp) by venus.codepro.be (Postfix) with ESMTPSA id 2EF722E2BE; Fri, 22 Apr 2016 13:20:29 +0200 (CEST) Subject: Re: Mailman in a jail Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Kristof Provost X-Checked-By-Nsa: Probably In-Reply-To: <27619B4D-B051-43C8-825A-84171ECFE1D6@ohlste.in> Date: Fri, 22 Apr 2016 13:20:28 +0200 Cc: FreeBSD Ports ML Message-Id: References: <5718F000.7010405@ohlste.in> <20160422100536.GA3891@vega.codepro.be> <27619B4D-B051-43C8-825A-84171ECFE1D6@ohlste.in> To: Jim Ohlstein X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2016 11:20:32 -0000 > On 22 Apr 2016, at 13:11, Jim Ohlstein wrote: >> The main gotcha with Mailman is that it defaults to supporting = Sendmail. >> It actually needs to be rebuilt to work with postfix. That's the = first >> thing to look at. Did you install from ports or with pkg? >=20 > I built it with poudriere using the Postfix option.=20 >=20 Okay, that=E2=80=99s good. I did exactly the same ;) It=E2=80=99s not quite clear to me if your problem is getting Postfix to = deliver to mailman, or mailman to postfix. In my setup the list is on a separate (virtual) domain, and uses an = aliases file=20 (alias_maps =3D hash:/etc/aliases, = hash:/usr/local/mailman/data/aliases). That file is maintained by mailman and will have things like 'test: = "|/usr/local/mailman/mail/mailman post test=E2=80=9D=E2=80=99 in = it. Return delivery (i.e. mailman sending mail) is done using the DirectSMTP = module. My =E2=80=98SMTPHOST=E2=80=99 is set to the hostname of the jail = (so to an IP address the postfix is listening on). If you=E2=80=99ve = still got that set to the default of =E2=80=98localhost=E2=80=99 that = might also explain your problems. It might also be worth playing with telnet inside the jail and = confirming that you can talk to your postfix that way. Regards, Kristof