尝试更新sendmail配置时,有时会使用m4收到错误
[root@wzxaini9 /]# m4 sendmail.mc > sendmail.cf m4:sendmail.mc:10: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory
这是因为sendmail-cf包不存在并且需要安装
[root@wzxaini9 /]# yum install sendmail-cf -y Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile ......
安装完成后即可使用
[root@wzxaini9 /]# m4 sendmail.mc > sendmail.cf
登录后可发表评论