M. Wolffensperger wrote:
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hello,
>
>I have a problem with rebuilding the sendmail.mc file to the
>sendmail.cf file I do the following [root@mail m.wolffensperger]# m4
>/etc/mail/sendmail.mc > /etc/sendmail.cf
>/etc/mail/sendmail.mc:11: m4: Cannot open
>/usr/lib/sendmail-cf/m4/cf.m4: No such file or directory
>
>When I look in the /usr/lib directory I only see a symbolic link
>lrwxrwxrwx 1 root root 16 May 11 2001 sendmail ->
>../sbin/sendmail
>
>What do I wrong can anybody help me ?
>
>Martijn
>
>-----BEGIN PGP SIGNATURE-----
>Version: PGP 7.1
>
>iQA/AwUBPAKj5elnuh0EsWxuEQLIkACfRS84OwmoOr6Lk4l9ZRP/fJkp3TgAoOwu
>/HCi+ShpP0N0NYlfh0cL7+Dy
>=eIOY
>-----END PGP SIGNATURE-----
>
You should have a sendmail-cf (on redhat) directory under /usr/lib. For
others distro, could be named differently. This directory comes from the
sendmail sources tree directory named 'cf'. This dir contains several
directories giving the following layout:
README domain/ hack/ mailer/ sh/ sendmail.schema
cf/ feature/ m4/ ostype/ siteconfig/
The file m4 is claiming for is under the m4 dir and contains general
declarations/definitions for building sendmail configuration file.
Try to get the sendmail tarball and install the cf dir under /usr/lib as
sendmail-cf. Then copy your sendmail.mc file under the
/usr/lib/sendmail-cf/cf dir.
Then go to this dir and issue
# ./Build sendmail.cf
Your sendmail.cf will be generated ...
Good luck
--
-o)
Remi Cohen-Scali /\\
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _\_v
----