• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1131
  • Last Modified:

m4 errors saying cannot open needed file when attempting to generate sendmail.cf file

I am attempting to set up a sendmail server that can use/authenticate smtp.  I have made the changes in the
/etc/mail/sendmail.mc file, and am attempting to generate the /etc/mail/sendmail.cf file using m4.  However it get the error below.

I am using Redhat linux

I've looked at the directory and there is not /usr/share/sendmail-cf/m4/cf.m4   file or directory..so where would I look? and what file would I point it at?
[root@localhost ~]# 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

Open in new window

0
Illyankesh
Asked:
Illyankesh
1 Solution
 
IllyankeshAuthor Commented:
DOH!  I'm a bonehead... I needed to install the sendmail.cf as a separate package.  I thought it had been installed when I grepped for it, but apparently this install of Red hat did not have it....
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now