From owner-freebsd-questions@freebsd.org Fri Feb 16 14:40:40 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 E693FF199B0 for ; Fri, 16 Feb 2018 14:40:39 +0000 (UTC) (envelope-from dweimer@dweimer.net) 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 809477CF4B for ; Fri, 16 Feb 2018 14:40:39 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 93ADA62543 for ; Fri, 16 Feb 2018 09:40:38 -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 kPIYyFNcCI1B for ; Fri, 16 Feb 2018 09:40:36 -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 ; Fri, 16 Feb 2018 09:40:36 -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 676E68A3FF; Fri, 16 Feb 2018 09:40:35 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id AA26762543; Fri, 16 Feb 2018 09:40:34 -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 9qrGx7x37YCi; Fri, 16 Feb 2018 09:40:27 -0500 (EST) X-Greylist: delayed 1907 seconds by postgrey-1.34 at inet08.hamilton.harte-lyne.ca; Fri, 16 Feb 2018 09:40:25 EST Received: from webmail.dweimer.net (24-240-198-186.static.stls.mo.charter.com [24.240.198.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dweimer.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPS; Fri, 16 Feb 2018 09:40:24 -0500 (EST) Received: from www.dweimer.net (opnsense.dweimer.local [10.9.5.1]) (authenticated bits=0) by webmail.dweimer.net (8.15.2/8.15.2) with ESMTPSA id w1GE8T1l006129 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 16 Feb 2018 08:08:29 -0600 (CST) (envelope-from dweimer@dweimer.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dweimer.net; s=2017.01.31; t=1518790109; bh=2/dxPnfbQsneDa9YyrYam2EgSOJdF0+txv8rGWPOerI=; h=Date:From:To:Cc:Subject:Reply-To:In-Reply-To:References; b=RZAv34udezPWmBn0/SY/EfgykcFJvuFoCKMgy/+RqOkzJIX74YLjWpVh7u1t/jlCF HMxEnRp6J2ED7rMtGjN3dzpVmwiQS6ZEw8kA+tM5OpYjZl8vW4jNlymTwPVJ39Bi1D SRZUPmHNV6UWkqR8pWCbmm7O04OtDBjZnPFbhJ3bd3cfEZ30ExtZqDHJlerqzh/U5m 2H+xymwh/xHs/dn09efB1TS528MFE2o6/5JgPNR/MgblHRvQkvyAq+r1qXOWwLhi8b SwhVwBm1Goo0OHdAfmMUPmlZdV+YNhDdB4gr/bB3vXHVNr9QDaztsmN5euQ4VZ8Gx8 Uhy9c1TeIsoaw== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 16 Feb 2018 08:08:23 -0600 From: "Dean E. Weimer" To: byrnejb@harte-lyne.ca Cc: freebsd-questions@harte-lyne.ca, owner-freebsd-questions@freebsd.org Subject: Re: Administrative email from FreeBSD jails Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: <0e77f110b4b3072a9328ea014cfc0284.squirrel@webmail.harte-lyne.ca> References: <0e77f110b4b3072a9328ea014cfc0284.squirrel@webmail.harte-lyne.ca> Message-ID: <09f70d8be56b28d756c5d1412f2e033d@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.3.4 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: Fri, 16 Feb 2018 14:40:40 -0000 On 2018-02-16 7:52 am, James B. Byrne via freebsd-questions wrote: > I have the relocated WebDAV site running in a jail on FreeBSD-11.1. > The question I now have what is the simplest method to redirect all > email generated in the jail to our smart hub. I am conversant with > doing this using Postfix but that seems a bit of a heavyweight > solution in this instance. > > 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 just use the mailertable feature of sendmail. Edit the contents of /etc/mail/mailertable To do all mail put a single line in it. . smtp:[yourmail.server.net] Then run make && make restart from the /etc/mail directory, Sendmail will then forward all mail to the mail server specified. You can also add secondary server using a : as a separator. -- Thanks, Dean E. Weimer http://www.dweimer.net/