Strange letters from Cronjob. (No such file or directory)

I am a fool on Linux. So I tried to set up some things on my root. Well, after a while, the suspicious work of cron began to bomb me. I get about 1 letter every 10 minutes saying:

Cron test -x / etc / init.d / sendmail && & &&& & / usr / share / sendmail / sendmail cron-msp

/ usr / share / sendmail / sendmail: line 880: / usr / sbin / sendmail-msp: no such file or directory

Does anyone know what this could be?

The email address is "root@example.com" ....

Hi

+8
cron debian sendmail
source share
4 answers

Decision:

apt-get -purge remove sendmail-base sendmail-cf sendmail-doc

It just appeared to me. I thought I removed sendmail when I installed Postfix, but these cron jobs started appearing. Removing the sendmail file from /etc/cron.d worked until I restarted the machine, after which it was restored. Removing the listed packages solved the problem once and for all. :-)

+18
source share

It seems that your sendmail package is not fully installed. Try to find our package containing sendmail-msp and install this package. You should no longer receive mail.

+3
source share

On my ubuntu system /etc/cron.d/sendmail

This seems to be the file left after I installed sendmail: dlocate -S /etc/cron.d/sendmail returns nothing ...

So I just deleted it.

I also found a couple of other sendmail-* packages that were removed but not cleared. When I cleaned them, everything was gone .: - /

+3
source share

Found! Source: http://ubuntuforums.org/showthread.php?t=1557127&p=9743741#post9743741

The file / etc / cron.d / sendmail seems to be auto-generated by sendmail.

 "Sendmail crontab - Call sendmail at various times to do the following: 1) Age queues - move undelivered mail to a slower queue 2) Retry any mail queued by the message submission process 3) run the queues (deliver mail) if a standalone daemon is not desired" 

So, if you go to

 sudo nano /etc/cron.d/sendmail 

and comment on the line that starts cron, I think everything is ready. But this is not the root of the problem.

I think you should go to edit this other file.

 sudo nano /etc/mail/sendmail.conf 

and scroll down to the "queue" sections, follow the built-in documentation and try until you get it :)

Hello!

+3
source share

All Articles