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

Leave a Comment

Your email address will not be published. Required fields are marked *

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