CentOS 5.x | 发邮件
我注意到有关从 sendmail.mc 推送更改的不一致信息
一些文档建议更改 sendmail.mc 文件需要两个步骤:
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
其他文档表明重建过程已经作为服务重启的一部分完成。
如果需要第 1 步,我可以获得确认吗?
更新:如果我在 init 脚本中 grep for make,输出显示:
[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
Run Code Online (Sandbox Code Playgroud)