Off topic but sendmail help needed

Rob freebsd at
Sun Apr 11 08:02:24 PDT 2004

When I try this, I get the error:

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

So I looked for m4 and it appears to be in /usr/bin/

so I run:

%/usr/bin/m4 -D_CF_DIR=/usr/share/sendmail/cf/
/usr/share/sendmail/cf/m4/cf.m4 >

and get the same error.

Is it telling me that m4 is not there or cfhead.m4 is missing. cfhead is
located here:


-----Original Message-----
From: Matthew Seaman [mailto:m.seaman at]
Sent: Sunday, April 11, 2004 4:09 AM
To: Rob
Cc: freebsd-questions at
Subject: Re: Off topic but sendmail help needed

In order to generate the that you need, the command to use

    # cd /etc/mail
    # m4 -D_CF_DIR=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 >

assuming that you have a load of sendmail related .m4 files under
/usr/share/sendmail/cf -- you may have to substitute
/usr/src/contrib/sendmail/cf instead.

Then, once you're happy that it's generated a reasonable sendmail
configuration file, copy to and restart sendmail.

More information about the freebsd-questions mailing list