I want to get sendmail working on a fairly fresh CentOS 4.5 install. I built the system with a minimal install, so I started with:
yum install sendmail
When that finished I issued:
service sendmail status
and verified the service was running, it was. Then I checked:
which said that sendmail was listening on the local host:
tcp 0 0 localhost.localdomain:smtp *:* LISTEN 10490/sendmail: acc
Next I wanted sendmail to listen on all interfaces, so I went into the file /etc/mail/sendmail.mc and changed:
dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
At this point I assumed I am ready to create the sendmail.cf file (I will edit the access database, virtusertable, etc later. First I just want to make sure sendmail runs so I can get mail off the box. So I attempt to build the file /etc/mail/sendmail.cf with the command:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
and I get this error:
sendmail.mc:10: m4: Cannot open /usr/share/sendmail-cf/m4/cf.m4: No such file or directory
??? what does this mean???
do I have to edit some other file or install some other app?
Help por favor
if no one has any ideas, can someone at least recommend a good sendmail howto. I would have thought I covered most of the basic steps but maybe I missed something...