Solved

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

Posted on 2008-10-14
1
1,123 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

688 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