How do you setup system email to send to a Gmail account?How do I make cron email my @gmail accountHow can I configure Postfix to send all email through my Gmail account?send email using sendmailSend mail as from my personal gmail accountNagios is sending mails manually but alerts are not comingCan receive email, can send email to local domain, can't send email to other mailserversPostfix won't transfer WordPress contact form emails to my Gmail accountPostfix to send email using gmail addressIssue forwarding email with POSTFIXPHPmailer with Ubunutu Headache

Want to switch to tankless, but can I use my existing wiring?

Is it ok to include an epilogue dedicated to colleagues who passed away in the end of the manuscript?

How to deal with a cynical class?

Word for a person who has no opinion about whether god exists

Does Linux have system calls to access all the features of the file systems it supports?

If Invisibility ends because the original caster casts a non-concentration spell, does Invisibility also end on other targets of the original casting?

Is "history" a male-biased word ("his+story")?

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

Is it true that real estate prices mainly go up?

What is the dot in “1.2.4."

It's a yearly task, alright

What is the difference between "shut" and "close"?

What Happens when Passenger Refuses to Fly Boeing 737 Max?

What is the definition of "Natural Selection"?

"However" used in a conditional clause?

How is the Swiss post e-voting system supposed to work, and how was it wrong?

Is going from continuous data to categorical always wrong?

What exactly is the purpose of connection links straped between the rocket and the launch pad

Making a sword in the stone, in a medieval world without magic

What does it mean when multiple 々 marks follow a 、?

How to make readers know that my work has used a hidden constraint?

Running a subshell from the middle of the current command

Coworker uses her breast-pump everywhere in the office

Deleting missing values from a dataset



How do you setup system email to send to a Gmail account?


How do I make cron email my @gmail accountHow can I configure Postfix to send all email through my Gmail account?send email using sendmailSend mail as from my personal gmail accountNagios is sending mails manually but alerts are not comingCan receive email, can send email to local domain, can't send email to other mailserversPostfix won't transfer WordPress contact form emails to my Gmail accountPostfix to send email using gmail addressIssue forwarding email with POSTFIXPHPmailer with Ubunutu Headache













5















Often when I'm working on a terminal, I'll see the "you have new mail in..." message. I know I can see this mail by looking in my system's mail folder (/var/mail/), but this is inconvenient. Also, if the message is important, such as a notice about low system resources, or drive problems, or a failed cron job, I may not see that message or check the system's mail folder for weeks or more.



How can I set it up so that all these messages get sent to a real email service, like Gmail, which I check daily?










share|improve this question




























    5















    Often when I'm working on a terminal, I'll see the "you have new mail in..." message. I know I can see this mail by looking in my system's mail folder (/var/mail/), but this is inconvenient. Also, if the message is important, such as a notice about low system resources, or drive problems, or a failed cron job, I may not see that message or check the system's mail folder for weeks or more.



    How can I set it up so that all these messages get sent to a real email service, like Gmail, which I check daily?










    share|improve this question


























      5












      5








      5


      1






      Often when I'm working on a terminal, I'll see the "you have new mail in..." message. I know I can see this mail by looking in my system's mail folder (/var/mail/), but this is inconvenient. Also, if the message is important, such as a notice about low system resources, or drive problems, or a failed cron job, I may not see that message or check the system's mail folder for weeks or more.



      How can I set it up so that all these messages get sent to a real email service, like Gmail, which I check daily?










      share|improve this question
















      Often when I'm working on a terminal, I'll see the "you have new mail in..." message. I know I can see this mail by looking in my system's mail folder (/var/mail/), but this is inconvenient. Also, if the message is important, such as a notice about low system resources, or drive problems, or a failed cron job, I may not see that message or check the system's mail folder for weeks or more.



      How can I set it up so that all these messages get sent to a real email service, like Gmail, which I check daily?







      email mail






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      Pablo Bianchi

      2,92521535




      2,92521535










      asked Aug 24 '11 at 13:26









      CerinCerin

      2,32084175




      2,32084175




















          1 Answer
          1






          active

          oldest

          votes


















          2














          See this:




          Users can control their own mail delivery by specifying destinations in a file called .forward in their home directories.




          So, when you do this:



          echo "yourmail@example.com" > ~/.forward


          the mails should be forwarded to the e-mail you've specified (in this case, yourmail@example.com)






          share|improve this answer


















          • 1





            But you also need to be certain that the messages will be received. most IPs from residential ISPs from which email is sent from (i.e. the sending server originates at a residential IP) get marked as spam and/or ignored by people. You may be able to make it work, but the issue is then dealing with spam.

            – Thomas Ward
            Aug 24 '11 at 14:43






          • 1





            @The Evil Phoenix: I'm not suggesting to send this mail to just some random guy out there - I have the forwarding set to my regular mail inbox, so that the mail intended for me goes somewhere where I'll see it (I did whitelist the equivalent of user@mybox.example.net, but that's about it). On a side note, SMTP is a best-effort protocol - you can never be completely certain the messages will be delivered.

            – Piskvor
            Aug 24 '11 at 14:56







          • 1





            @The Evil One, This is my problem, as I get my internet through Comcast or Verizon. So getting sendmail to send email is easy. Getting sendmail to send email and get it to reach the recipient is hard, because both Comcast and Verizon block outgoing email sent without authorization.

            – Cerin
            Sep 30 '11 at 18:32











          • On system's I've confirmed have working sendmail, adding ~/.forward doesn't seem to have any effect.

            – Cerin
            Oct 15 '11 at 14:54










          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%2f58480%2fhow-do-you-setup-system-email-to-send-to-a-gmail-account%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









          2














          See this:




          Users can control their own mail delivery by specifying destinations in a file called .forward in their home directories.




          So, when you do this:



          echo "yourmail@example.com" > ~/.forward


          the mails should be forwarded to the e-mail you've specified (in this case, yourmail@example.com)






          share|improve this answer


















          • 1





            But you also need to be certain that the messages will be received. most IPs from residential ISPs from which email is sent from (i.e. the sending server originates at a residential IP) get marked as spam and/or ignored by people. You may be able to make it work, but the issue is then dealing with spam.

            – Thomas Ward
            Aug 24 '11 at 14:43






          • 1





            @The Evil Phoenix: I'm not suggesting to send this mail to just some random guy out there - I have the forwarding set to my regular mail inbox, so that the mail intended for me goes somewhere where I'll see it (I did whitelist the equivalent of user@mybox.example.net, but that's about it). On a side note, SMTP is a best-effort protocol - you can never be completely certain the messages will be delivered.

            – Piskvor
            Aug 24 '11 at 14:56







          • 1





            @The Evil One, This is my problem, as I get my internet through Comcast or Verizon. So getting sendmail to send email is easy. Getting sendmail to send email and get it to reach the recipient is hard, because both Comcast and Verizon block outgoing email sent without authorization.

            – Cerin
            Sep 30 '11 at 18:32











          • On system's I've confirmed have working sendmail, adding ~/.forward doesn't seem to have any effect.

            – Cerin
            Oct 15 '11 at 14:54















          2














          See this:




          Users can control their own mail delivery by specifying destinations in a file called .forward in their home directories.




          So, when you do this:



          echo "yourmail@example.com" > ~/.forward


          the mails should be forwarded to the e-mail you've specified (in this case, yourmail@example.com)






          share|improve this answer


















          • 1





            But you also need to be certain that the messages will be received. most IPs from residential ISPs from which email is sent from (i.e. the sending server originates at a residential IP) get marked as spam and/or ignored by people. You may be able to make it work, but the issue is then dealing with spam.

            – Thomas Ward
            Aug 24 '11 at 14:43






          • 1





            @The Evil Phoenix: I'm not suggesting to send this mail to just some random guy out there - I have the forwarding set to my regular mail inbox, so that the mail intended for me goes somewhere where I'll see it (I did whitelist the equivalent of user@mybox.example.net, but that's about it). On a side note, SMTP is a best-effort protocol - you can never be completely certain the messages will be delivered.

            – Piskvor
            Aug 24 '11 at 14:56







          • 1





            @The Evil One, This is my problem, as I get my internet through Comcast or Verizon. So getting sendmail to send email is easy. Getting sendmail to send email and get it to reach the recipient is hard, because both Comcast and Verizon block outgoing email sent without authorization.

            – Cerin
            Sep 30 '11 at 18:32











          • On system's I've confirmed have working sendmail, adding ~/.forward doesn't seem to have any effect.

            – Cerin
            Oct 15 '11 at 14:54













          2












          2








          2







          See this:




          Users can control their own mail delivery by specifying destinations in a file called .forward in their home directories.




          So, when you do this:



          echo "yourmail@example.com" > ~/.forward


          the mails should be forwarded to the e-mail you've specified (in this case, yourmail@example.com)






          share|improve this answer













          See this:




          Users can control their own mail delivery by specifying destinations in a file called .forward in their home directories.




          So, when you do this:



          echo "yourmail@example.com" > ~/.forward


          the mails should be forwarded to the e-mail you've specified (in this case, yourmail@example.com)







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 24 '11 at 14:01









          PiskvorPiskvor

          1,1121119




          1,1121119







          • 1





            But you also need to be certain that the messages will be received. most IPs from residential ISPs from which email is sent from (i.e. the sending server originates at a residential IP) get marked as spam and/or ignored by people. You may be able to make it work, but the issue is then dealing with spam.

            – Thomas Ward
            Aug 24 '11 at 14:43






          • 1





            @The Evil Phoenix: I'm not suggesting to send this mail to just some random guy out there - I have the forwarding set to my regular mail inbox, so that the mail intended for me goes somewhere where I'll see it (I did whitelist the equivalent of user@mybox.example.net, but that's about it). On a side note, SMTP is a best-effort protocol - you can never be completely certain the messages will be delivered.

            – Piskvor
            Aug 24 '11 at 14:56







          • 1





            @The Evil One, This is my problem, as I get my internet through Comcast or Verizon. So getting sendmail to send email is easy. Getting sendmail to send email and get it to reach the recipient is hard, because both Comcast and Verizon block outgoing email sent without authorization.

            – Cerin
            Sep 30 '11 at 18:32











          • On system's I've confirmed have working sendmail, adding ~/.forward doesn't seem to have any effect.

            – Cerin
            Oct 15 '11 at 14:54












          • 1





            But you also need to be certain that the messages will be received. most IPs from residential ISPs from which email is sent from (i.e. the sending server originates at a residential IP) get marked as spam and/or ignored by people. You may be able to make it work, but the issue is then dealing with spam.

            – Thomas Ward
            Aug 24 '11 at 14:43






          • 1





            @The Evil Phoenix: I'm not suggesting to send this mail to just some random guy out there - I have the forwarding set to my regular mail inbox, so that the mail intended for me goes somewhere where I'll see it (I did whitelist the equivalent of user@mybox.example.net, but that's about it). On a side note, SMTP is a best-effort protocol - you can never be completely certain the messages will be delivered.

            – Piskvor
            Aug 24 '11 at 14:56







          • 1





            @The Evil One, This is my problem, as I get my internet through Comcast or Verizon. So getting sendmail to send email is easy. Getting sendmail to send email and get it to reach the recipient is hard, because both Comcast and Verizon block outgoing email sent without authorization.

            – Cerin
            Sep 30 '11 at 18:32











          • On system's I've confirmed have working sendmail, adding ~/.forward doesn't seem to have any effect.

            – Cerin
            Oct 15 '11 at 14:54







          1




          1





          But you also need to be certain that the messages will be received. most IPs from residential ISPs from which email is sent from (i.e. the sending server originates at a residential IP) get marked as spam and/or ignored by people. You may be able to make it work, but the issue is then dealing with spam.

          – Thomas Ward
          Aug 24 '11 at 14:43





          But you also need to be certain that the messages will be received. most IPs from residential ISPs from which email is sent from (i.e. the sending server originates at a residential IP) get marked as spam and/or ignored by people. You may be able to make it work, but the issue is then dealing with spam.

          – Thomas Ward
          Aug 24 '11 at 14:43




          1




          1





          @The Evil Phoenix: I'm not suggesting to send this mail to just some random guy out there - I have the forwarding set to my regular mail inbox, so that the mail intended for me goes somewhere where I'll see it (I did whitelist the equivalent of user@mybox.example.net, but that's about it). On a side note, SMTP is a best-effort protocol - you can never be completely certain the messages will be delivered.

          – Piskvor
          Aug 24 '11 at 14:56






          @The Evil Phoenix: I'm not suggesting to send this mail to just some random guy out there - I have the forwarding set to my regular mail inbox, so that the mail intended for me goes somewhere where I'll see it (I did whitelist the equivalent of user@mybox.example.net, but that's about it). On a side note, SMTP is a best-effort protocol - you can never be completely certain the messages will be delivered.

          – Piskvor
          Aug 24 '11 at 14:56





          1




          1





          @The Evil One, This is my problem, as I get my internet through Comcast or Verizon. So getting sendmail to send email is easy. Getting sendmail to send email and get it to reach the recipient is hard, because both Comcast and Verizon block outgoing email sent without authorization.

          – Cerin
          Sep 30 '11 at 18:32





          @The Evil One, This is my problem, as I get my internet through Comcast or Verizon. So getting sendmail to send email is easy. Getting sendmail to send email and get it to reach the recipient is hard, because both Comcast and Verizon block outgoing email sent without authorization.

          – Cerin
          Sep 30 '11 at 18:32













          On system's I've confirmed have working sendmail, adding ~/.forward doesn't seem to have any effect.

          – Cerin
          Oct 15 '11 at 14:54





          On system's I've confirmed have working sendmail, adding ~/.forward doesn't seem to have any effect.

          – Cerin
          Oct 15 '11 at 14:54

















          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%2f58480%2fhow-do-you-setup-system-email-to-send-to-a-gmail-account%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

          Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

          Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

          Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»