Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now