From owner-freebsd-questions@FreeBSD.ORG Sun May 30 19:29:07 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2DE31065673 for ; Sun, 30 May 2010 19:29:07 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 69AE08FC0A for ; Sun, 30 May 2010 19:29:07 +0000 (UTC) Received: from [88.217.55.75] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OIlC2-0002Od-Sw; Sun, 30 May 2010 18:16:55 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o4UGGr7L004467; Sun, 30 May 2010 18:16:53 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o4UGGqs1004466; Sun, 30 May 2010 18:16:52 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 30 May 2010 18:16:52 +0200 From: Matthias Apitz To: Laszlo Nagy Message-ID: <20100530161652.GA4423@current.Sisis.de> References: <4BFFAC35.2040503@shopzeus.com> <4BFFDCC4.5080408@fechner.net> <4C00099D.6070005@shopzeus.com> <4C028270.5030900@shopzeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C028270.5030900@shopzeus.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 88.217.55.75 Cc: questions@freebsd.org Subject: Re: cron not sending emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 19:29:07 -0000 El día Sunday, May 30, 2010 a las 05:21:20PM +0200, Laszlo Nagy escribió: > If I put this into root's crontab > >>> > >>>* * * * * echo "TEST" > >> > >>a quick guess, you have a line like: > >>MAILTO="address" > >> > >It doesn't work. With, or without the MAILTO. Just for completeness, > >I have used this: > > > >MAILTO=gandalf > > > >The "gandalf" user is a local user on the system. I can send local > >mail to this user using the "sendmail" postfix program (checked twice). > Cron is still not sending emails. Any idea? Yes, check the log of cron (/var/log/cron) if you job is run at all; if so check the log of mails (/var/log/maillog). Btw: what is the purpose of putting TEST into ""? matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ ¡Ya basta! ¡Tropas de OTAN, fuera de Afghanistan! There's an end of it! NATO troups out of Afghanistan! Schluss jetzt endlich! NATO raus aus Afghanistan!