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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to