You are not logged in.

#1 2005-09-27 17:13:59

Clanman
Member
Registered: 2005-02-08
Posts: 35

sendmail error in cron log

Hi
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


// Clanman

Offline

#2 2005-09-27 18:27:20

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: sendmail error in cron log

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.

Offline

#3 2005-09-27 18:42:38

Clanman
Member
Registered: 2005-02-08
Posts: 35

Re: sendmail error in cron log

Ok
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

//Clanman

Offline

#4 2005-09-27 18:51:45

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: sendmail error in cron log

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)

Offline

#5 2005-09-27 19:44:32

Clanman
Member
Registered: 2005-02-08
Posts: 35

Re: sendmail error in cron log

Thanks for your help
The crontab getmail works fine
I thought that it produced the error message.

Now I will ignore that error message
Thanks again

//Clanman

Offline

Board footer

Powered by FluxBB