CentOS 5.x | SendMail
I'm noticing inconsistent information regarding pushing changes from sendmail.mc
Some documentation suggests that making changes to the sendmail.mc file requires two steps:
- Rebuild the cf file:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
- Restart sendmail service
Other documentation suggests that the rebuild process is already done as part of a service restart.
Can I get confirmation on if step 1 is required?
Update: If I grep for make in the init script, the output shows:
[root@foo ~]# grep make /etc/init.d/sendmail if test -x /usr/bin/make -a -f /etc/mail/Makefile ; then make all -C /etc/mail -s > /dev/null makemap hash /etc/mail/$i < /etc/mail/$i if [ -x /usr/bin/make -a -f /etc/mail/Makefile ]; then make all -C /etc/mail -s > /dev/null makemap hash /etc/mail/$i < /etc/mail/$i