Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm currently trying to configure sendmail fo the first time and setup a mail server on a small embedded computer ( running a custom linux distribution ).

I'm having an issue with the m4 macros:

I'm trying to convert this:

VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
define(HELPFILE, `/etc/mail/helpfile')
FEATURE(nouucp, `noscpecial')
MAILER(local)dnl
MAILER(smtp)dnl

to sendmail.cf, but all the output I get when running m4 is:

VERSIONID($Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $)
OSTYPE(linux)DOMAIN(generic)
FEATURE(nouucp, noscpecial)
MAILER(local)MAILER(smtp)

Am I doing something wrong?

share|improve this question

migrated from superuser.com May 25 '10 at 12:45

This question came from our site for computer enthusiasts and power users.

1 Answer 1

You probably forgot to tell the macro processor about the cf.m4 file like this:

m4 /path/to/cf.m4 sendmail.mc > sendmail.cf
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.