• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

sendmail not found, can anyone provide?

U

ukbonkers

Guest
Hi,

I have a problem with cron jobs not sending an email notification and trying to fix/diagnose the problem.

Can you tell me if this file should exist on my server

/usr/sbin/sendmail

After doing a test i get

/var$ echo test | mail [email protected]

/usr/sbin/sendmail: No such file or directory

I may be wrong, but this file does not exist, and i presume is needed for the mailing function to work correctly.

If it is the case can you send me one from a default installation?

Thanks in advance

Bob
 
Run this command at the prompt:
ln -s /usr/local/psa/qmail/bin/sendmail /usr/sbin/sendmail
This will create a copy of sendmail in the /usr/sbin directory.
 
Thanks!

Thanks for the help you pointed me in the right direction. The path you specified to sendmail did not exist. But after doing a find sendmail i located a copy in /var/qmail/bin/.

My Cron Jobs are now sending email notifications.

Thanks again..
Bob
 
Back
Top