From owner-freebsd-questions@FreeBSD.ORG Sun Jun 1 11:16:44 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D6E38EE for ; Sun, 1 Jun 2014 11:16:44 +0000 (UTC) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0E72216E for ; Sun, 1 Jun 2014 11:16:42 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id s51ArIEA087174; Sun, 1 Jun 2014 12:53:19 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <538B061E.9010700@bananmonarki.se> Date: Sun, 01 Jun 2014 12:53:18 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: tyler@tysdomain.com, "freebsd-questions@freebsd.org" Subject: Re: removing sendmail, updating jails and etc References: <538A3708.3020708@tysdomain.com> In-Reply-To: <538A3708.3020708@tysdomain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 11:16:44 -0000 On 2014-05-31 22:09, Littlefield, Tyler wrote: > Hello all: > Per my usual style, I have a few questions. > > First, I set up Postfix on my host system and that's what all email > should be running through. I'm noticing though that some jails are > running sendmail processes--possibly to try to get out some kind of > emails (periodic, I'm guessing). > Is there a way to remove sendmail altogether and force all jails or all > services to send mail to the host IP? I can enable relay for those if > that's what's needed, but I'd really like to filter everything through > postfix sendmail. > > Finally, I'm noticing that some of my jails are falling behind in terms > of updates. I use ezjail; I upgraded to pkgNG on the host system and > other jails are still running behind. This makes sense, but I'm curious > what people use to help keep jails updated. Most importantly, I'd like > to be able to update ports and run freebsd-update (is this needed) from > the jail on cron. the freebsd-update works, but it returns errors about > a kernel (which is pretty much to be expected). > Thanks in advance for any info--I really appreciate it. Appologies as > well for all the questions; I'm making my way from Linux to BSD and > trying to be a useful server admin. With my luck I've probably already > got a few people doing evil things with it, but I'll learn in time. > I really think you should look at the handbook. https://www.freebsd.org/doc/handbook/mail-changingmta.html