Rebuilding Sendmail configuration fails because it cannot open /usr/share/sendmail-cf/m4/cf.m4

Solution Verified - Updated -

Issue

  • After changing /etc/mail/sendmail.mc I am trying to rebuild the sendmail.cf file using m4 command but it fails with an error.
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
/etc/mail/sendmail.mc:10: m4: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory

Environment

  • Red Hat Enterprise Linux all versions
  • Sendmail
  • Sendmail-cf

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content