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 freebsd.mc > foo.cf

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:[EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 4:09 AM
To: Rob
Subject: Re: Off topic but sendmail help needed

In order to generate the sendmail.cf 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
foo.mc > foo.cf

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 foo.cf to sendmail.cf and restart sendmail.

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to