From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 27 06:57:33 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54E9A16A4DD for ; Sun, 27 Aug 2006 06:57:33 +0000 (UTC) (envelope-from perl@ipchains.ru) Received: from www.ebash.ru (ebash.ru [212.158.162.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0BF243D45 for ; Sun, 27 Aug 2006 06:57:32 +0000 (GMT) (envelope-from perl@ipchains.ru) Received: from [83.237.248.247] (helo=[192.168.1.40]) by www.ebash.ru with esmtpa (Exim 4.62) (envelope-from ) id 1GHEdm-000Be4-0K; Sun, 27 Aug 2006 11:01:06 +0400 Message-ID: <44F1424E.5000906@ipchains.ru> Date: Sun, 27 Aug 2006 10:57:18 +0400 From: "Oleg D." User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Dirk Engling References: <44F0E38F.5030809@erdgeist.org> <17648.59470.572563.377998@bhuda.mired.org> <20060827052733.F16322@erdgeist.org> In-Reply-To: <20060827052733.F16322@erdgeist.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 01 Sep 2006 13:05:40 +0000 Cc: hackers@freebsd.org, Mike Meyer Subject: Re: jails, cron and sendmail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2006 06:57:33 -0000 Dirk Engling wrote: > > On Sat, 26 Aug 2006, Mike Meyer wrote: > >> Except some of the things run from cron want to send mail all on their >> own, so fixing cron won't solve your problem. >> >> Why are you running cron inside the jails at all? Are you letting your >> users run it? If not, can you disable it, and instead run scripts from >> your real crontab that do the appropriate thigns in each jail? > > It's not me, it's the OS running cron to do its periodic checks, per > default. But Daniel Gerzo already pointed out, how to solve that. > > Still: FreeBSD's /etc/ assumes and provides a working mail subsystem in > its default configuration. That exposes sendmail to the publicly visible > IP address. Shutting the mail sub system off causes trouble. > > I hope, that describes my motivation to bring up the topic. > > erdgeist 0. Is it possible to fix your MTA config to make it ``deliver'' for ``root'' or ``postmaster'' to /dev/null? 1. Is it possible to make changes in /etc/crontab for all jails on machine? And place the same *blank* /etc/crontab for new jails that are going to be created as a template? -- Oleg D. -- don't believe every word people use to say, they might be wrong. an undefined problem has infinitive number of solutions.