Link to home
Start Free TrialLog in
Avatar of dpalme
dpalme

asked on

Sendmail mc not working

When attempting to create the sendmail.cf file with the freebsd.mc by using the command m4 /etc/mail/freebsd.mc > /etc/mail/sendmail.cf it just outputs the entire contents of the mc file to the sendmail.cf file.

Obviously something is broken....I've tried what I know to get it working, but nothing is working so some help here would be greatly appreciated.

I know this is for linux but since freebsd and linux are relatively close I hope nobody gets too upset with me.

SOLUTION
Avatar of Jaem
Jaem

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dpalme
dpalme

ASKER

I tried the m4 ../m4/cf.m4 freebsd.mc > /etc/mail/sendmail.cf method to no avail, even copying it to the cf directory and that gives me the following error:

../m4/cfhead.m4: no such file or directory

Its clearly in that directory, the cfhead.m4 file that is.....but apparently something is broken....its really starting to irritate me now LOL....
Did you try with the vanilla sendmail.mc contained in FreeBSD, and it should work with any/most mc files in ../cf/mc (I think)?

If those work, you might have a problem with your freebsd.mc file.

If they don't, did you install all packages necessary to do it? Check all packages whose name contains sendmail? In RH I think you need two rpms (sendmail + sendmail.something).

But I am probably as much in the dark as you. Manage to m4 one sendmail.mc on SuSE, but failed to install FreeBSD, lacking a primary partition:(
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
dpalme:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.