Solved

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

Posted on 2008-10-14
1
1,119 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

840 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