Date: Sun, 27 Aug 2006 10:57:18 +0400 From: "Oleg D." <perl@ipchains.ru> To: Dirk Engling <erdgeist@erdgeist.org> Cc: hackers@freebsd.org, Mike Meyer <mwm-keyword-freebsdhackers2.e313df@mired.org> Subject: Re: jails, cron and sendmail Message-ID: <44F1424E.5000906@ipchains.ru> In-Reply-To: <20060827052733.F16322@erdgeist.org> References: <44F0E38F.5030809@erdgeist.org> <17648.59470.572563.377998@bhuda.mired.org> <20060827052733.F16322@erdgeist.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44F1424E.5000906>