Nothing happens when sending a mail with (command line) sendmailSendmail Bounced Mail Bodycan't get php mail() working on Ubuntu desktop version with sendmail and postfixgetting PHP mail() to work when MX records redirect all mail traffic to another server. (Postfix, sendmail)Sendmail is not sendingSendmail Exception reached when thousands emails sent in bulk mail script. Has sendmail a email-sent limit for a given process?Sendmail server keeps relaying mail to wrong servermail command : does content-filter in postfix works?Ubuntu Sendmail Not Sending Emailssendmail stripping From: address for apache www-data@localhost sent PHP mail()E-mail configurations for postfix/sendmail on AWS EC2 and SMTP services

What are the mechanical differences between Adapt and Monstrosity?

Is it a bad idea to have a pen name with only an initial for a surname?

What kind of chart is this?

Root User Cannot Reset Another Users Password

How useful is the GRE Exam?

Is using Legacy mode is a bad thing to do?

Why swap space doesn't get filesystem check at boot time?

Should I email my professor to clear up a (possibly very irrelevant) awkward misunderstanding?

Using roof rails to set up hammock

Explicit song lyrics checker

What is "dot" sign in •NO?

Can a character with the Polearm Master feat make an opportunity attack against an invisible creature that enters their reach?

If the mass of the Earth is decreasing by sending debris in space, does its angular momentum also decrease?

How can I detect if I'm in a subshell?

Is swap gate equivalent to just exchanging the wire of the two qubits?

How "fast" do astronomical events occur?

How can I prevent a user from copying files on another hard drive?

Probability Dilemma

Operator currying: how to convert f[a,b][c,d] to a+c,b+d?

Does anyone recognize these rockets, and their location?

Digital signature that is only verifiable by one specific person

How can the US president give an order to a civilian?

In windows systems, is renaming files functionally similar to deleting them?

How to make all magic-casting innate, but still rare?



Nothing happens when sending a mail with (command line) sendmail


Sendmail Bounced Mail Bodycan't get php mail() working on Ubuntu desktop version with sendmail and postfixgetting PHP mail() to work when MX records redirect all mail traffic to another server. (Postfix, sendmail)Sendmail is not sendingSendmail Exception reached when thousands emails sent in bulk mail script. Has sendmail a email-sent limit for a given process?Sendmail server keeps relaying mail to wrong servermail command : does content-filter in postfix works?Ubuntu Sendmail Not Sending Emailssendmail stripping From: address for apache www-data@localhost sent PHP mail()E-mail configurations for postfix/sendmail on AWS EC2 and SMTP services






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








2















I want to set a mail server that can send mail with sendmail. Here is what I have done exactly



 service postfix start
sendmail < mymail


where mymail contains



to:my@mail.com
from:random@mail.com
subject: None
None


With a packet capture, I see that nothing is sent. postfix is running on port 25 and I haven't touch the configuration after postfix installation.



Why is the mail not sent and how can I send a mail with sendmail?










share|improve this question
























  • sendmail user@example.com < /tmp/email.txt (email.txt = <br>subject<br>text) (replace <br> with empty line feed)

    – yagmoth555
    Dec 22 '16 at 17:15











  • Thanks for the answer. I obviously forget my mail when writting the command. With sendemail, I get the error: ERROR => TLS setup failed: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

    –  j1088099.mvrht.com.
    Dec 22 '16 at 17:29






  • 1





    You may check /var/log/mail.* for debugging.

    –  j1088099.mvrht.com.
    Dec 22 '16 at 18:09

















2















I want to set a mail server that can send mail with sendmail. Here is what I have done exactly



 service postfix start
sendmail < mymail


where mymail contains



to:my@mail.com
from:random@mail.com
subject: None
None


With a packet capture, I see that nothing is sent. postfix is running on port 25 and I haven't touch the configuration after postfix installation.



Why is the mail not sent and how can I send a mail with sendmail?










share|improve this question
























  • sendmail user@example.com < /tmp/email.txt (email.txt = <br>subject<br>text) (replace <br> with empty line feed)

    – yagmoth555
    Dec 22 '16 at 17:15











  • Thanks for the answer. I obviously forget my mail when writting the command. With sendemail, I get the error: ERROR => TLS setup failed: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

    –  j1088099.mvrht.com.
    Dec 22 '16 at 17:29






  • 1





    You may check /var/log/mail.* for debugging.

    –  j1088099.mvrht.com.
    Dec 22 '16 at 18:09













2












2








2


1






I want to set a mail server that can send mail with sendmail. Here is what I have done exactly



 service postfix start
sendmail < mymail


where mymail contains



to:my@mail.com
from:random@mail.com
subject: None
None


With a packet capture, I see that nothing is sent. postfix is running on port 25 and I haven't touch the configuration after postfix installation.



Why is the mail not sent and how can I send a mail with sendmail?










share|improve this question
















I want to set a mail server that can send mail with sendmail. Here is what I have done exactly



 service postfix start
sendmail < mymail


where mymail contains



to:my@mail.com
from:random@mail.com
subject: None
None


With a packet capture, I see that nothing is sent. postfix is running on port 25 and I haven't touch the configuration after postfix installation.



Why is the mail not sent and how can I send a mail with sendmail?







email postfix email-server sendmail mailbox






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 '17 at 8:31









AnFi

4,8061824




4,8061824










asked Dec 22 '16 at 17:00









j1088099.mvrht.com. j1088099.mvrht.com.

1154




1154












  • sendmail user@example.com < /tmp/email.txt (email.txt = <br>subject<br>text) (replace <br> with empty line feed)

    – yagmoth555
    Dec 22 '16 at 17:15











  • Thanks for the answer. I obviously forget my mail when writting the command. With sendemail, I get the error: ERROR => TLS setup failed: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

    –  j1088099.mvrht.com.
    Dec 22 '16 at 17:29






  • 1





    You may check /var/log/mail.* for debugging.

    –  j1088099.mvrht.com.
    Dec 22 '16 at 18:09

















  • sendmail user@example.com < /tmp/email.txt (email.txt = <br>subject<br>text) (replace <br> with empty line feed)

    – yagmoth555
    Dec 22 '16 at 17:15











  • Thanks for the answer. I obviously forget my mail when writting the command. With sendemail, I get the error: ERROR => TLS setup failed: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

    –  j1088099.mvrht.com.
    Dec 22 '16 at 17:29






  • 1





    You may check /var/log/mail.* for debugging.

    –  j1088099.mvrht.com.
    Dec 22 '16 at 18:09
















sendmail user@example.com < /tmp/email.txt (email.txt = <br>subject<br>text) (replace <br> with empty line feed)

– yagmoth555
Dec 22 '16 at 17:15





sendmail user@example.com < /tmp/email.txt (email.txt = <br>subject<br>text) (replace <br> with empty line feed)

– yagmoth555
Dec 22 '16 at 17:15













Thanks for the answer. I obviously forget my mail when writting the command. With sendemail, I get the error: ERROR => TLS setup failed: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

–  j1088099.mvrht.com.
Dec 22 '16 at 17:29





Thanks for the answer. I obviously forget my mail when writting the command. With sendemail, I get the error: ERROR => TLS setup failed: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

–  j1088099.mvrht.com.
Dec 22 '16 at 17:29




1




1





You may check /var/log/mail.* for debugging.

–  j1088099.mvrht.com.
Dec 22 '16 at 18:09





You may check /var/log/mail.* for debugging.

–  j1088099.mvrht.com.
Dec 22 '16 at 18:09










1 Answer
1






active

oldest

votes


















4














1) Instruct sendmail to look for recipients in message headers (-t) and ignore single dot line as end of email (-i). Without -t sendmail expects to get recipients' list via command line.



sendmail -i -t < mymail


2) Insert empty line between headers and body in the message (mymail file)



to:my@mail.com
from:random@mail.com
subject: None

None


Postfix manual sendmail(1)






share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "2"
    ;
    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%2fserverfault.com%2fquestions%2f822307%2fnothing-happens-when-sending-a-mail-with-command-line-sendmail%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









    4














    1) Instruct sendmail to look for recipients in message headers (-t) and ignore single dot line as end of email (-i). Without -t sendmail expects to get recipients' list via command line.



    sendmail -i -t < mymail


    2) Insert empty line between headers and body in the message (mymail file)



    to:my@mail.com
    from:random@mail.com
    subject: None

    None


    Postfix manual sendmail(1)






    share|improve this answer



























      4














      1) Instruct sendmail to look for recipients in message headers (-t) and ignore single dot line as end of email (-i). Without -t sendmail expects to get recipients' list via command line.



      sendmail -i -t < mymail


      2) Insert empty line between headers and body in the message (mymail file)



      to:my@mail.com
      from:random@mail.com
      subject: None

      None


      Postfix manual sendmail(1)






      share|improve this answer

























        4












        4








        4







        1) Instruct sendmail to look for recipients in message headers (-t) and ignore single dot line as end of email (-i). Without -t sendmail expects to get recipients' list via command line.



        sendmail -i -t < mymail


        2) Insert empty line between headers and body in the message (mymail file)



        to:my@mail.com
        from:random@mail.com
        subject: None

        None


        Postfix manual sendmail(1)






        share|improve this answer













        1) Instruct sendmail to look for recipients in message headers (-t) and ignore single dot line as end of email (-i). Without -t sendmail expects to get recipients' list via command line.



        sendmail -i -t < mymail


        2) Insert empty line between headers and body in the message (mymail file)



        to:my@mail.com
        from:random@mail.com
        subject: None

        None


        Postfix manual sendmail(1)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 22 '16 at 22:18









        AnFiAnFi

        4,8061824




        4,8061824



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Server Fault!


            • 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%2fserverfault.com%2fquestions%2f822307%2fnothing-happens-when-sending-a-mail-with-command-line-sendmail%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

            How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

            What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

            Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos