Help!  M4 deleted my

Posted on 2011-04-21
Last Modified: 2013-12-17
Ok, I'm a little lost and frustrated here.

While trying to setup my file, I read that the "masquerade as" settings needed to be changed in the file.  once done it said to use the following command:

# m4 /etc/mail/ > /etc/mail/

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 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
Question by:Jay
    LVL 28

    Accepted Solution

    cd /etc/mail
    make -C /etc/mail

    Author Comment


    I also figured out I probably ran the m4 command from the from directory which caused the file to be wiped out!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
    In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
    The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now