Off topic but sendmail help needed

Rob freebsd at computersthatrock.com
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 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:

/usr/share/sendmail/cf/m4/cfhead.m4


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


In order to generate the sendmail.cf that you need, the command to use
is:

    # 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.




More information about the freebsd-questions mailing list