Friday 6 March 2009

Compiling a new sendmail.cf

Have you spent hours of your life, trying to compile a new sendmail.cf file from a sendmail.mc?

All the instructions tell you to use m4 to compile it, but without explanation. All you get is a short file that really doesn't look anything like a sendmail.cf ...

So try this:

/usr/ccs/bin/m4 /etc/mail/cf/m4/cf.m4 mysendmail.mc > mysendmail.cf

No comments: