I'm going through the process of updating Sendmail for some alerting. I.E. something happens, sendmail sends us the email of the error, we fix it.
We're running into issues where those emails aren't sending anymore and were looking to update Sendmail. We're currently on 8.15 and looking to upgrade to the latest 8.18. In the documentation we've seen the following steps (For reference):
Read all the README files noted in the INTRODUCTION section of the README file in this top-level directory.
Create any necessary site configuration build files, as noted in devtools/Site/README.
In the sendmail/ directory, run "sh ./Build" (see sendmail/README for details).
Change to the cf/cf/ directory (that's not a typo): Copy whichever .mc file best matches your environment to sendmail.mc. Next, tailor it as explained in cf/README. Then run "sh ./Build sendmail.cf".
Back up your current /etc/mail/sendmail.cf and the sendmail binary (whose location varies from operating system to operating system, but is usually in /usr/sbin or /usr/lib).
Install sendmail.cf as /etc/mail/sendmail.cf and submit.cf as /etc/mail/submit.cf. This can be done in the cf/cf by using "sh ./Build install-cf".
Please read sendmail/SECURITY before continuing; you may have to create a new user smmsp and a new group smmsp for the default installation if you are updating from a really old version. Then install the sendmail binary built in step 3 by cd-ing back to sendmail/ and running "sh ./Build install".
For each of the associated sendmail utilities (makemap, mailstats, etc.), read the README in the utility's directory if it exists. When you are ready to install it, back up your installed version and type "sh ./Build install".
If you are upgrading from an older version of sendmail and are using any database maps, be sure to rebuild them with the new version of makemap, in case you are now using a different (and thereby incompatible) version of Berkeley DB.
I've managed to get through steps 1-5 without issue, but we're running into the following errors for step 6:
Using M4=/usr/bin/m4 ../../devtools/bin/install.sh -c -o root -g bin -m 0444 sendmail.cf /etc/mail/sendmail.cf make: execvp: ../../devtools/bin/install.sh: Permission denied make: *** [Makefile:83: install-sendmail-cf] Error 127
I've looked at the permissions for the install.sh file and it's currently 755 with 2004 2004 ownership
Unfortunately, this is far over my head. Any help would be appreciated.
Attempted to follow the steps provided, but ran into some make errors. Checked permissions. Hit brick wall.
yum update?yum update sendmailwould just always return with nothing to do