sendmail "cannot open /usr/share/sendmail-cf/feature/.m4" no such file etc
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sendmail "cannot open /usr/share/sendmail-cf/feature/.m4" no such file etc
I have installed sendmail and sendmail-cf but when I go to compile my submit.mc it tries to go to a folder that doesn't exist. The cf.m4 file is in /usr/share/sendmail-cf/m4 but it wants to find it under the /usr/share/sendmail-cf/feature location. /usr/share/sendmail-cf/feature has no subfolders. I've uninstalled and reinstalled sendmail and sendmail-cf (using yum install so I get the dependencies) and no subfolder ever materializes under feature. I'm sure it's something incredibly basic that I'm overlooking. m4 is installed.
I've perused the other threads relating to sendmail and I'm still stumped.
Must be a configuration error as: "cannot open /usr/share/sendmail-cf/feature/.m4 no such file" is missing the actual m4 file name?..
I see the configuration issue as possible, I just don't see how to fix it. The feature folder doesn't contain any folders but plenty of .m4 files. I should also note the full error, which I omitted is: cannot open '/usr/share/sendmail-cf/feature/.m4' no such file": No such file or directory.
halt on fatal error and show which files m4 reads from.
Hmm. I went through it all again and uninstalled both sendmail rpms and installed the latest kernel update and now it will compile the file. I'm stumped but happy that it works and for the assistance. It does say, after i compile it, that the service (sendmail) is dead but subsys locked but I can keep working on that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.