Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cron no longer sends email to root

Status
Not open for further replies.

Wishdiak

Technical User
Mar 7, 2004
1,787
US
I upgraded from FreeBSD 6.1 to 6.2 a few weeks ago, and since then Cron no longer emails root when each Cron job is completed.

This is more of an annoyance than a genuine problem, since otherwise everything seems fine, but I'd like to get it fixed.

Does anyone have any suggestions as to what to check?

I'm using Qmail rather than sendmail, and the sendmail binaries are symlinked to qmail. I get email for root, just not from Cron jobs.

Wishdiak
A+, Network+, Security+, MCSE: Security 2003
 
Have you created symlinks to Qmail's sendmail executable?
Code:
ln -s /path/to/qmail/bin/sendmail /usr/lib/sendmail
ln -s /path/to/qmail/bin/sendmail /usr/sbin/sendmail

M. Brooks
 
mbrooks,

Thanks for the suggestion. Yes, I have.
Code:
/usr/lib/sendmail@ -> /var/qmail/bin/sendmail
/usr/sbin/sendmail@ -> /var/qmail/bin/sendmail

However, permissions on /var/qmail/bin/sendmail were 000. I'm not sure why.

I just changed them to 755. Do you think that could be the problem?


Wishdiak
A+, Network+, Security+, MCSE: Security 2003
 
Problem solved!

I usually get email from Cron jobs at midnight, so I just had to wait a little while.

The permissions above provided the clue needed to fix this problem. Thanks, mbrooks, for pointing me in the right direction!

Wishdiak
A+, Network+, Security+, MCSE: Security 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top