From owner-freebsd-questions@FreeBSD.ORG Fri Jul 1 19:23:38 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF7FC16A41C for ; Fri, 1 Jul 2005 19:23:38 +0000 (GMT) (envelope-from lists@natserv.com) Received: from mail1.acecape.com (mail1.acecape.com [66.114.74.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EACC43D48 for ; Fri, 1 Jul 2005 19:23:38 +0000 (GMT) (envelope-from lists@natserv.com) Received: from zoraida.natserv.net (p65-147.acedsl.com [66.114.65.147]) by mail1.acecape.com (8.12.11/8.12.11) with ESMTP id j61JNbHI022446 for ; Fri, 1 Jul 2005 15:23:37 -0400 Date: Fri, 1 Jul 2005 15:23:37 -0400 (EDT) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: FreeBSD Questions List In-Reply-To: <20050629221944.V54615@zoraida.natserv.net> Message-ID: <20050701151816.H4101@zoraida.natserv.net> References: <20050629221944.V54615@zoraida.natserv.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Fixed (Cron fails. Error in /var/log/maillog: No recipient) 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, 01 Jul 2005 19:23:38 -0000 On Wed, 29 Jun 2005, Francisco Reyes wrote: For the archives. Problem was crontab failing. first thing I noticed was > postfix/sendmail[36590]: fatal: > No recipient addresses found in message > header In /var/log/maillog Then someone suggested to look at /var/log/cron There I saw errors like NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found Some digging and found that if one takes off NIS from the system one needs to change /etc/nsswitch.conf to group: files hosts: files dns networks: files passwd: files shells: files That solved the problem. However, I find it very interesting that cron fails if it can not send out an email.