Help! M4 deleted my sendmail.cf
Posted on 2011-04-21
Ok, I'm a little lost and frustrated here.
While trying to setup my sendmail.cf file, I read that the "masquerade as" settings needed to be changed in the sendmail.mc file. once done it said to use the following command:
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
i did so, I then errored out saying "no such file or directory" - not true, i just edited the file!!
I went back and found my sendmail.cf had been erased to 0 bytes. gone. I stupidly did not make a backup copy.
How can I get it back? Keep the answers basic please, I'm a novice!!
Thanks a million, Jay