Solve cannot open /usr/share/sendmail-cf/m4/cf.m4

GNU/Linux
Q. I have made changes to the configuration of Sendmail but when I run:

# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

I get the following error:

m4:/etc/mail/sendmail.mc:10: cannot open /usr/share/sendmail-cf/m4/cf.m4: No such file or directory

How to fix it?

A. To resolve the above error, you must install the package sendmail-cf

# yum - and install sendmail-cf

Further reading

-man sendmail

The tutorials here on LibreByte are provided under a free software licence. if you like my work you should consider:
Buy a Hosting/VPS or Dedicated Server at MCKHost

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.