To Resolve m4:/etc/mail/sendmail.mc:10: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory
If you getting following error message :-
[root@server mail]# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
m4:/etc/mail/sendmail.mc:10: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory
Then first remove the sendmail :-
[root@server mail]# yum erase sendmail* -y
Then install sendmail :-
[root@server mail]# yum install sendmail* -y
It will show the file name :-
Dependencies Resolved
===========================================================
Package Arch Version Repository Size
===========================================================
sendmail i686 8.14.4-8.el6 base 713 k
sendmail-cf noarch 8.14.4-8.el6 base 184 k
sendmail-devel i686 8.14.4-8.el6 base 135 k
sendmail-doc noarch 8.14.4-8.el6 base 533 k
sendmail-milter i686 8.14.4-8.el6 base 57 k
Transaction Summary
===========================================================
Then verify by :-
[root@server mail]# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
Hence forth there will be no such error.
By :- Vishal Sharma
No comments :
Post a Comment