finally I found the error. After removing the root entries in /etc/crontab (which I didn't put there and which I thought should indicate the user running the scripts) the error messages cease to come.
So:
0 * * * * rm -f /var/spool/cron/lastrun/cron.hourly
instead of
0 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
And the questions concerning ssmpt came, because I didn't unterstand what ssmtp can do and what it can't. Thanks for your help.
Philip
Paul de Vrieze wrote:
On Wednesday 02 April 2003 19:49, Philip Rieger wrote:
thanks for the quick reply. I could still need some help. What is the right mailhub parameter. By default /etc/ssmtp/ssmtp.conf sets mailhub=mail. When mail should be delivered locally, is it just the hostname (in my case mailhub=howard)? This actually changes the error message to: 'sendmail: cannot open howard:25'.
the mailbost must be the host that is responsible in your local network for sending emails. mailhost.company.com is a possible name for this
'root' is no command, that's clear. Is there a way to find out, which script tries to run 'root'. In my crontab there are these (default) lines.
Those lines run the scripts that are in the /etc/cron.{hourly,daily,weekly,monthly} directories. Do a grep on root in those directories to give you a hint which script it might be.
-- [EMAIL PROTECTED] mailing list
