From owner-freebsd-questions@freebsd.org Tue Feb 20 13:15:53 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54D44F006AD for ; Tue, 20 Feb 2018 13:15:53 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E5680769C6 for ; Tue, 20 Feb 2018 13:15:52 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id B5C016242B for ; Tue, 20 Feb 2018 08:15:45 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oXZOvwIf-iRB for ; Tue, 20 Feb 2018 08:15:44 -0500 (EST) Received: from inet07.hamilton.harte-lyne.ca (inet07.hamilton.harte-lyne.ca [216.185.71.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "imap.hamilton.harte-lyne.ca", Issuer "CA HLL ISSUER 01" (not verified)) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPS for ; Tue, 20 Feb 2018 08:15:44 -0500 (EST) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (verified OK)) by inet07.hamilton.harte-lyne.ca (Postfix) with ESMTPS id 87BFE8A326 for ; Tue, 20 Feb 2018 08:15:43 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 4BB0E6242B for ; Tue, 20 Feb 2018 08:15:43 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VtQ299mgoIFL for ; Tue, 20 Feb 2018 08:15:41 -0500 (EST) X-Greylist: delayed 560 seconds by postgrey-1.34 at inet08.hamilton.harte-lyne.ca; Tue, 20 Feb 2018 08:15:41 EST Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPS for ; Tue, 20 Feb 2018 08:15:41 -0500 (EST) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id 1479B1068C; Tue, 20 Feb 2018 13:06:18 +0000 (GMT) Subject: Re: Administrative email from FreeBSD jails To: Michael Grimm , byrnejb@harte-lyne.ca Cc: freebsd-questions@harte-lyne.ca, owner-freebsd-questions@freebsd.org References: <0e77f110b4b3072a9328ea014cfc0284.squirrel@webmail.harte-lyne.ca> From: Arthur Chance Message-ID: <2229230b-936b-9ee2-0c06-4f5e56b2c573@qeng-ho.org> Date: Tue, 20 Feb 2018 13:06:17 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 13:15:53 -0000 On 16/02/2018 17:06, Michael Grimm wrote: > James B. Byrne via freebsd-questions wrote: > >> Is the any simpler software package that can forward all application >> and system generated email from a jail to an external hub? >> >> How do other people handle this requirement in their jails? > > I did substitute sendmail by DragonFly Mail Agent in mail/dma some time ago. It runs at the host and in all those jails not running postfix. Easy setup [1], fine replacement of sendmail. > > [1] in my case it's a two line config (your milage my vary) with 10.1.2.3 running my postfix MTA: > > # Your smarthost (also called relayhost). > SMARTHOST 10.1.2.3 > # The internet hostname dma uses to identify the host. > MAILNAME kaan-bock.net [This is a bit delayed, I've been offline with flu.] I'll second DMA. I've looked at various solutions over the years, and if you want mail to go out sensibly but don't need incoming mail DMA is the simplest solution I've found. -- An amusing coincidence: log2(58) = 5.858 (to 0.0003% accuracy).