Im going nuts.
I have configured getmail to recieve mail from pop3 and deliver it to a maildir on my user.
This works fine. I get the mail and balsa is reading the mailbox.
The problem is that the crond log is displaying this error message
27-Sep-2005 18:05 USER fredrik pid 6259 cmd /usr/bin/getmail -d
27-Sep-2005 18:08 unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null27-Sep-2005 18:10 USER fredrik pid 6430 cmd /usr/bin/getmail -d
27-Sep-2005 18:13 unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null27-Sep-2005 18:15 USER fredrik pid 6627 cmd /usr/bin/getmail -d
notice the timestamp I have configured getmail to check every 5 min
crontab -e lists
*/5 * * * * /usr/bin/getmail -d
I have checked all my /etc/cron....... directorys but nothing referes to sendmail
According to getmail it doesn't use sendmail to deliver mail.
I don't have sendmail installed
crond is erroring out and trying to email you about it using sendmail. restart crond (/etc/rc.d/crond restart) and it should stop.
EDIT: I mean the process you have specified in crontab should work if it didn't already, but the error message will remain -I've always had them.
Tried that and crond log look this way
27-Sep-2005 20:30 unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null
27-Sep-2005 20:33 /usr/sbin/crond V2.9 dillon, started
27-Sep-2005 20:35 USER fredrik pid 10899 cmd /usr/bin/getmail -d
27-Sep-2005 20:35 unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null
So it didn't stop erroring out
I edited my first post.
If you don't want to see the error messages anymore append 2>/dev/null to your line in crontab (ie /usr/bin/something 2>/dev/null). It errors because there is no sendmail program with arch because of security issues. If the command you have defined in crontab isn't working restart it (see my first post)
Thanks for your help
The crontab getmail works fine
I thought that it produced the error message.
Now I will ignore that error message