Restoring /etc/mail to defaults The Next CEO of Stack Overflowhow to set-up (very) simple sendmailLinux mail command not working like it used toPostfix start error Port 25: Address already in useKnow my mail sending optionsHow to enter a declared variable in the mail body, while sending mail using perl script?How can I migrate Mbox emails to new version of Evolution?How can I set up cron so it stores its output locally for me to read with mail?Trying to set up Catch-All Email Address with SendmailHow do I replicate XAMPP's sendmail from Windows on Linux?Sending mail through bash used to work, no longer working

How can I open an app using Terminal?

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

Can the Reverse Gravity spell affect the Meteor Swarm spell?

Is a stroke of luck acceptable after a series of unfavorable events?

WOW air has ceased operation, can I get my tickets refunded?

% symbol leads to superlong (forever?) compilations

How do spells that require an ability check vs. the caster's spell save DC work?

Customer Requests (Sometimes) Drive Me Bonkers!

What happens if you roll doubles 3 times then land on "Go to jail?"

How do I solve this limit?

What is the difference between "behavior" and "behaviour"?

Are there languages with no euphemisms?

Explicit solution of a Hamiltonian system

When did Lisp start using symbols for arithmetic?

How to make a software documentation "officially" citable?

Does the Brexit deal have to be agreed by both Houses?

If I blow insulation everywhere in my attic except the door trap, will heat escape through it?

How do I go from 300 unfinished/half written blog posts, to published posts?

How to start emacs in "nothing" mode (`fundamental-mode`)

What size rim is OK?

A pseudo-riley?

How to be diplomatic in refusing to write code that breaches the privacy of our users

Horror movie/show or scene where a horse creature opens its mouth really wide and devours a man in a stables

Apart from "berlinern", do any other German dialects have a corresponding verb?



Restoring /etc/mail to defaults



The Next CEO of Stack Overflowhow to set-up (very) simple sendmailLinux mail command not working like it used toPostfix start error Port 25: Address already in useKnow my mail sending optionsHow to enter a declared variable in the mail body, while sending mail using perl script?How can I migrate Mbox emails to new version of Evolution?How can I set up cron so it stores its output locally for me to read with mail?Trying to set up Catch-All Email Address with SendmailHow do I replicate XAMPP's sendmail from Windows on Linux?Sending mail through bash used to work, no longer working










1















I ran into issues configuring Sendmail and messed up the /etc/mail folder's files, so I deleted /etc/mail entirely. How can I now start fresh in my journey of attempting to configure Sendmail by restoring the /etc/mail folder with its default files?










share|improve this question

















  • 1





    You could try running dpkg -S /etc/mail and then re-installing the packages it identifies

    – steeldriver
    Dec 15 '18 at 13:51











  • I just did exactly the same thing, and nothing seems to help. Did you ever figure out how to do this?

    – Phil Hirschhorn
    52 mins ago















1















I ran into issues configuring Sendmail and messed up the /etc/mail folder's files, so I deleted /etc/mail entirely. How can I now start fresh in my journey of attempting to configure Sendmail by restoring the /etc/mail folder with its default files?










share|improve this question

















  • 1





    You could try running dpkg -S /etc/mail and then re-installing the packages it identifies

    – steeldriver
    Dec 15 '18 at 13:51











  • I just did exactly the same thing, and nothing seems to help. Did you ever figure out how to do this?

    – Phil Hirschhorn
    52 mins ago













1












1








1








I ran into issues configuring Sendmail and messed up the /etc/mail folder's files, so I deleted /etc/mail entirely. How can I now start fresh in my journey of attempting to configure Sendmail by restoring the /etc/mail folder with its default files?










share|improve this question














I ran into issues configuring Sendmail and messed up the /etc/mail folder's files, so I deleted /etc/mail entirely. How can I now start fresh in my journey of attempting to configure Sendmail by restoring the /etc/mail folder with its default files?







mail sendmail






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 15 '18 at 9:46









KeavonKeavon

16628




16628







  • 1





    You could try running dpkg -S /etc/mail and then re-installing the packages it identifies

    – steeldriver
    Dec 15 '18 at 13:51











  • I just did exactly the same thing, and nothing seems to help. Did you ever figure out how to do this?

    – Phil Hirschhorn
    52 mins ago












  • 1





    You could try running dpkg -S /etc/mail and then re-installing the packages it identifies

    – steeldriver
    Dec 15 '18 at 13:51











  • I just did exactly the same thing, and nothing seems to help. Did you ever figure out how to do this?

    – Phil Hirschhorn
    52 mins ago







1




1





You could try running dpkg -S /etc/mail and then re-installing the packages it identifies

– steeldriver
Dec 15 '18 at 13:51





You could try running dpkg -S /etc/mail and then re-installing the packages it identifies

– steeldriver
Dec 15 '18 at 13:51













I just did exactly the same thing, and nothing seems to help. Did you ever figure out how to do this?

– Phil Hirschhorn
52 mins ago





I just did exactly the same thing, and nothing seems to help. Did you ever figure out how to do this?

– Phil Hirschhorn
52 mins ago










1 Answer
1






active

oldest

votes


















0














Having experimented further, I used apt to remove all the sendmail packages and then did



apt install sendmail-cf sendmail-base sendmail-bin sendmail-doc


and I now have most (or all) of what I remember from /etc/mail. Of course, I still don't know how to get it doing what I want, but at least I can try things now.






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1101044%2frestoring-etc-mail-to-defaults%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Having experimented further, I used apt to remove all the sendmail packages and then did



    apt install sendmail-cf sendmail-base sendmail-bin sendmail-doc


    and I now have most (or all) of what I remember from /etc/mail. Of course, I still don't know how to get it doing what I want, but at least I can try things now.






    share|improve this answer



























      0














      Having experimented further, I used apt to remove all the sendmail packages and then did



      apt install sendmail-cf sendmail-base sendmail-bin sendmail-doc


      and I now have most (or all) of what I remember from /etc/mail. Of course, I still don't know how to get it doing what I want, but at least I can try things now.






      share|improve this answer

























        0












        0








        0







        Having experimented further, I used apt to remove all the sendmail packages and then did



        apt install sendmail-cf sendmail-base sendmail-bin sendmail-doc


        and I now have most (or all) of what I remember from /etc/mail. Of course, I still don't know how to get it doing what I want, but at least I can try things now.






        share|improve this answer













        Having experimented further, I used apt to remove all the sendmail packages and then did



        apt install sendmail-cf sendmail-base sendmail-bin sendmail-doc


        and I now have most (or all) of what I remember from /etc/mail. Of course, I still don't know how to get it doing what I want, but at least I can try things now.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 34 mins ago









        Phil HirschhornPhil Hirschhorn

        1965




        1965



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1101044%2frestoring-etc-mail-to-defaults%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Are there any comparative studies done between Ashtavakra Gita and Buddhim?How is it wrong to believe that a self exists, or that it doesn't?Can you criticise or improve Ven. Bodhi's description of MahayanaWas the doctrine of 'Anatta', accepted as doctrine by modern Buddhism, actually taught by the Buddha?Relationship between Buddhism, Hinduism and Yoga?Comparison of Nirvana, Tao and Brahman/AtmaIs there a distinction between “ego identity” and “craving/hating”?Are there many differences between Taoism and Buddhism?Loss of “faith” in buddhismSimilarity between creation in Abrahamic religions and beginning of life in Earth mentioned Agganna Sutta?Are there studies about the difference between meditating in the morning versus in the evening?Can one follow Hinduism and Buddhism at the same time?Are there any prohibitions on participating in other religion's practices?Psychology of 'flow'

            fallocate: fallocate failed: Text file busy in Ubuntu 17.04? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)defragmenting and increasing performance of old lubuntu system with swap partitionIssue with increasing the root partition from the swapthis /usr/bin/dpkg returned error || ubuntu-16.04, 64bitDefault 17.04 swap file locationHow to Resize Ubuntu 17.04 Zesty Swap file size?Ubuntu freezes from online formsMy Laptop is not starting after upgrade ubuntu 16.04 (Kernel 4.8.0-38 to 04.10.0-36)hcp: ERROR: FALLOCATE FAILED!Not sure my swap is being usedWine 3.0 asking for more virtual free swap

            Where else does the Shulchan Aruch quote an authority by name?Parashat Metzora+HagadolPesach/PassoverShulchan Aruch UTF-8Anonymous glosses in the Shulchan AruchWhy is the Shulchan Aruch definitive?Siman 32, Kitzur Shulchan Aruch: UntranslatedLitvaks/Yeshivish and Shulchan AruchBuying a Shulchan AruchEnglish version of SHULCHAN ARUCHIs there any place where Shulchan Aruch rules with the Rosh against the Rif and Rambam?Are there practices where Sepharadim do not hold by Shulchan Aruch?5th part of the shulchan aruch