Question about configuring email server and using m4

cutty

Senior member
Oct 30, 2001
311
0
0
Hi, I'm trying to configure an email server on my Linux server.
I modified /etc/mail/sendmail.mc and I'm trying to use m4 to compile it to sendmail.cf by typing:
m4 sendmail.mc > sendmail.cf
However I'm always get error message like:
sendmail.mc:11: m4: Cannot open ../m4/cf.m4: No such file or directory
I looked at sendmail.mc, there is a line looks like:
include(`../m4/cf.m4')dnl
However I tried to do a seatch on my system, I can't find a file name cf.m4 at all, and there is no directory name m4 either. Can any one tell me what's this line means and what should I do now? Can I just remove it?
Thank you.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I've always jsut modified sendmail.cf directly myself, maybe I'm strange.

Why not try something like postfix which has a simpler config file?