From owner-freebsd-questions@FreeBSD.ORG Fri May 28 14:57:24 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 908991065678 for ; Fri, 28 May 2010 14:57:24 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from fep11.mx.upcmail.net (fep11.mx.upcmail.net [62.179.121.31]) by mx1.freebsd.org (Postfix) with ESMTP id C992D8FC23 for ; Fri, 28 May 2010 14:57:23 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep11-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20100528145718.OYOA4509.viefep11-int.chello.at@edge04.upcmail.net>; Fri, 28 May 2010 16:57:18 +0200 Received: from laci.sznet ([86.101.31.185]) by edge04.upcmail.net with edge id P2xG1e0503zeu1y012xHjZ; Fri, 28 May 2010 16:57:18 +0200 X-SourceIP: 86.101.31.185 Message-ID: <4BFFD9CB.6060301@shopzeus.com> Date: Fri, 28 May 2010 16:57:15 +0200 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.24 (X11/20100411) MIME-Version: 1.0 To: Chuck Swiger References: <4BFFAC35.2040503@shopzeus.com> <4BC103AF-B09F-486A-A8FF-66E33DF00515@mac.com> In-Reply-To: <4BC103AF-B09F-486A-A8FF-66E33DF00515@mac.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Cloudmark-Analysis: v=1.1 cv=jiVRHdtUHQAy7bptafywayBW+6flB1IkYOkYMoG72+w= c=1 sm=0 a=wbKXeunVgZ0A:10 a=IkcTkHD0fZMA:10 a=FgKBXSSdLh2soaQNfvMA:9 a=Bc-b_eidynZSqULh1bYA:7 a=Josa-knzm9yRXs61UY8DKDu62_AA:4 a=QEXdDO2ut3YA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: questions@freebsd.org Subject: Re: cron not sending emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2010 14:57:24 -0000 Chuck Swiger írta: > Hi-- > > On May 28, 2010, at 4:42 AM, Laszlo Nagy wrote: > >> If I put this into root's crontab >> >> * * * * * echo "TEST" >> >> then I see this in the maillog: >> >> May 14 10:53:00 server postfix/sendmail[2958]: fatal: user(1001): No recipient addresses found in message header >> > > These do not correspond. I can assure you, that the maillog DOES correspond to the cron job. E.g. if I add two jobs for the same point in time, then two new lines will appear in the maillog, at exactly the given time. If I remove them, then no line will show up etc. > It seems to think that the crontab is for uid 1001, but it can't seem to lookup a passwd entry for that uid: > > >> log_it: (tmp.27734 92380) ORPHAN (no passwd entry) >> > > Well, actually it is not just user=1001. Many users have crontabs on this system. I cannot tell which one is orphaned. (Maybe munin? That was removed recently from the system...) Actually, user 1001 does have a password entry. So do others, and their crontabs are working. Programs are started by cron, but their output is lost. L