Solved

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

Posted on 2008-10-14
1
1,120 Views
Last Modified: 2013-12-06
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
Comment
Question by:Illyankesh
1 Comment
 

Accepted Solution

by:
Illyankesh earned 0 total points
ID: 22714830
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question