Installing mailx on ubuntu 14.04.2 The 2019 Stack Overflow Developer Survey Results Are In ...

Button changing its text & action. Good or terrible?

How do you keep chess fun when your opponent constantly beats you?

How do spell lists change if the party levels up without taking a long rest?

What information about me do stores get via my credit card?

1960s short story making fun of James Bond-style spy fiction

Do warforged have souls?

Are there continuous functions who are the same in an interval but differ in at least one other point?

how can a perfect fourth interval be considered either consonant or dissonant?

Why not take a picture of a closer black hole?

Do I have Disadvantage attacking with an off-hand weapon?

Are spiders unable to hurt humans, especially very small spiders?

Windows 10: How to Lock (not sleep) laptop on lid close?

Why can't devices on different VLANs, but on the same subnet, communicate?

Student Loan from years ago pops up and is taking my salary

Why did Peik Lin say, "I'm not an animal"?

ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?

Word for: a synonym with a positive connotation?

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

How to handle characters who are more educated than the author?

"is" operation returns false even though two objects have same id

Is every episode of "Where are my Pants?" identical?

Is there a writing software that you can sort scenes like slides in PowerPoint?

What happens to a Warlock's expended Spell Slots when they gain a Level?

Drawing arrows from one table cell reference to another



Installing mailx on ubuntu 14.04.2



The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
2019 Community Moderator Election ResultsServers running from chrooted Ubuntu on HP TouchPad?How to find out why my cron didn't run?sendmail and certsSamba unable to write when mounting from LinuxSendmail SMTP not working on apache2 server [My unqualified host name (X) unknown]Sendmail SMTP “My unqualified hostname” and “My unqualified domain name”passwordless ssh to localhost in Ubuntu 16.04Accesing localhost via IP from another device UbuntuUbuntu 18.04: Error with mailx smtp - mailx: unrecognized option “-S'”?Ubuntu 16.04.5 Ruining Monitors By Never Turning Them Off





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















So I've installed mailx but I'm unable to get it to send an e-mail. I do the following:



mailx -s "Test"
To: myemail@email.com
Cc:
"This is a test."
CTRL-D (does not work)


CTRL-D does nothing. It's supposed to end the body and fire off the e-mail, but does not seem to be doing anything.



Here's my /etc/hosts file. I'm not sure if this is correct.



127.0.0.1      localhost localhost. hp-laptop hp-laptop.
10.XXX.X.XXX hp-laptop.


Any suggestions on what's causing the issue?



Thanks










share|improve this question














bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Are you in fact typing the string "CTRL-D", or are you pressing Ctrl and d together (which is what you should be doing). I believe typing a lone dot on a line also ends the message.

    – Kusalananda
    Nov 7 '18 at 12:23


















0















So I've installed mailx but I'm unable to get it to send an e-mail. I do the following:



mailx -s "Test"
To: myemail@email.com
Cc:
"This is a test."
CTRL-D (does not work)


CTRL-D does nothing. It's supposed to end the body and fire off the e-mail, but does not seem to be doing anything.



Here's my /etc/hosts file. I'm not sure if this is correct.



127.0.0.1      localhost localhost. hp-laptop hp-laptop.
10.XXX.X.XXX hp-laptop.


Any suggestions on what's causing the issue?



Thanks










share|improve this question














bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Are you in fact typing the string "CTRL-D", or are you pressing Ctrl and d together (which is what you should be doing). I believe typing a lone dot on a line also ends the message.

    – Kusalananda
    Nov 7 '18 at 12:23














0












0








0








So I've installed mailx but I'm unable to get it to send an e-mail. I do the following:



mailx -s "Test"
To: myemail@email.com
Cc:
"This is a test."
CTRL-D (does not work)


CTRL-D does nothing. It's supposed to end the body and fire off the e-mail, but does not seem to be doing anything.



Here's my /etc/hosts file. I'm not sure if this is correct.



127.0.0.1      localhost localhost. hp-laptop hp-laptop.
10.XXX.X.XXX hp-laptop.


Any suggestions on what's causing the issue?



Thanks










share|improve this question














So I've installed mailx but I'm unable to get it to send an e-mail. I do the following:



mailx -s "Test"
To: myemail@email.com
Cc:
"This is a test."
CTRL-D (does not work)


CTRL-D does nothing. It's supposed to end the body and fire off the e-mail, but does not seem to be doing anything.



Here's my /etc/hosts file. I'm not sure if this is correct.



127.0.0.1      localhost localhost. hp-laptop hp-laptop.
10.XXX.X.XXX hp-laptop.


Any suggestions on what's causing the issue?



Thanks







linux ubuntu mailx






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 22 '15 at 15:47









Andrew HummelAndrew Hummel

147




147





bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 4 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Are you in fact typing the string "CTRL-D", or are you pressing Ctrl and d together (which is what you should be doing). I believe typing a lone dot on a line also ends the message.

    – Kusalananda
    Nov 7 '18 at 12:23



















  • Are you in fact typing the string "CTRL-D", or are you pressing Ctrl and d together (which is what you should be doing). I believe typing a lone dot on a line also ends the message.

    – Kusalananda
    Nov 7 '18 at 12:23

















Are you in fact typing the string "CTRL-D", or are you pressing Ctrl and d together (which is what you should be doing). I believe typing a lone dot on a line also ends the message.

– Kusalananda
Nov 7 '18 at 12:23





Are you in fact typing the string "CTRL-D", or are you pressing Ctrl and d together (which is what you should be doing). I believe typing a lone dot on a line also ends the message.

– Kusalananda
Nov 7 '18 at 12:23










1 Answer
1






active

oldest

votes


















0














Change /etc/hosts to this:



127.0.0.1      localhost localhost. hp-laptop hp-laptop. vagrant-ubuntu-trusty-64
10.XXX.X.XXX hp-laptop.


When the smtp connection to Gmail times out, you misconfigured the smtp server data in your MTA configuration (like sendmail, exim or postfix). Be aware that the gmail smtp server to not support smtp connections to port 25 and without encryption.






share|improve this answer


























  • So that allowed the CTRL-D to work, but I never received an e-mail.

    – Andrew Hummel
    Jul 22 '15 at 16:32











  • My mailq has the below messages in it.

    – Andrew Hummel
    Jul 22 '15 at 17:05













  • MTA Queue status... /var/spool/mqueue (8 requests) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient------ ----- t6MH143q002470* 11 Wed Jul 22 17:01 <root@localhost> <myemail@gmail.com> t6MGUFWa002231* 5 Wed Jul 22 16:30 <vagrant@localhost> (Deferred: Connection timed out with alt4.gmail-smtp-in.l.goo) <myemail@gmail.com>

    – Andrew Hummel
    Jul 22 '15 at 17:07














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f217670%2finstalling-mailx-on-ubuntu-14-04-2%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














Change /etc/hosts to this:



127.0.0.1      localhost localhost. hp-laptop hp-laptop. vagrant-ubuntu-trusty-64
10.XXX.X.XXX hp-laptop.


When the smtp connection to Gmail times out, you misconfigured the smtp server data in your MTA configuration (like sendmail, exim or postfix). Be aware that the gmail smtp server to not support smtp connections to port 25 and without encryption.






share|improve this answer


























  • So that allowed the CTRL-D to work, but I never received an e-mail.

    – Andrew Hummel
    Jul 22 '15 at 16:32











  • My mailq has the below messages in it.

    – Andrew Hummel
    Jul 22 '15 at 17:05













  • MTA Queue status... /var/spool/mqueue (8 requests) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient------ ----- t6MH143q002470* 11 Wed Jul 22 17:01 <root@localhost> <myemail@gmail.com> t6MGUFWa002231* 5 Wed Jul 22 16:30 <vagrant@localhost> (Deferred: Connection timed out with alt4.gmail-smtp-in.l.goo) <myemail@gmail.com>

    – Andrew Hummel
    Jul 22 '15 at 17:07


















0














Change /etc/hosts to this:



127.0.0.1      localhost localhost. hp-laptop hp-laptop. vagrant-ubuntu-trusty-64
10.XXX.X.XXX hp-laptop.


When the smtp connection to Gmail times out, you misconfigured the smtp server data in your MTA configuration (like sendmail, exim or postfix). Be aware that the gmail smtp server to not support smtp connections to port 25 and without encryption.






share|improve this answer


























  • So that allowed the CTRL-D to work, but I never received an e-mail.

    – Andrew Hummel
    Jul 22 '15 at 16:32











  • My mailq has the below messages in it.

    – Andrew Hummel
    Jul 22 '15 at 17:05













  • MTA Queue status... /var/spool/mqueue (8 requests) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient------ ----- t6MH143q002470* 11 Wed Jul 22 17:01 <root@localhost> <myemail@gmail.com> t6MGUFWa002231* 5 Wed Jul 22 16:30 <vagrant@localhost> (Deferred: Connection timed out with alt4.gmail-smtp-in.l.goo) <myemail@gmail.com>

    – Andrew Hummel
    Jul 22 '15 at 17:07
















0












0








0







Change /etc/hosts to this:



127.0.0.1      localhost localhost. hp-laptop hp-laptop. vagrant-ubuntu-trusty-64
10.XXX.X.XXX hp-laptop.


When the smtp connection to Gmail times out, you misconfigured the smtp server data in your MTA configuration (like sendmail, exim or postfix). Be aware that the gmail smtp server to not support smtp connections to port 25 and without encryption.






share|improve this answer















Change /etc/hosts to this:



127.0.0.1      localhost localhost. hp-laptop hp-laptop. vagrant-ubuntu-trusty-64
10.XXX.X.XXX hp-laptop.


When the smtp connection to Gmail times out, you misconfigured the smtp server data in your MTA configuration (like sendmail, exim or postfix). Be aware that the gmail smtp server to not support smtp connections to port 25 and without encryption.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jul 22 '15 at 17:58

























answered Jul 22 '15 at 16:17









Jodka LemonJodka Lemon

2,503534




2,503534













  • So that allowed the CTRL-D to work, but I never received an e-mail.

    – Andrew Hummel
    Jul 22 '15 at 16:32











  • My mailq has the below messages in it.

    – Andrew Hummel
    Jul 22 '15 at 17:05













  • MTA Queue status... /var/spool/mqueue (8 requests) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient------ ----- t6MH143q002470* 11 Wed Jul 22 17:01 <root@localhost> <myemail@gmail.com> t6MGUFWa002231* 5 Wed Jul 22 16:30 <vagrant@localhost> (Deferred: Connection timed out with alt4.gmail-smtp-in.l.goo) <myemail@gmail.com>

    – Andrew Hummel
    Jul 22 '15 at 17:07





















  • So that allowed the CTRL-D to work, but I never received an e-mail.

    – Andrew Hummel
    Jul 22 '15 at 16:32











  • My mailq has the below messages in it.

    – Andrew Hummel
    Jul 22 '15 at 17:05













  • MTA Queue status... /var/spool/mqueue (8 requests) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient------ ----- t6MH143q002470* 11 Wed Jul 22 17:01 <root@localhost> <myemail@gmail.com> t6MGUFWa002231* 5 Wed Jul 22 16:30 <vagrant@localhost> (Deferred: Connection timed out with alt4.gmail-smtp-in.l.goo) <myemail@gmail.com>

    – Andrew Hummel
    Jul 22 '15 at 17:07



















So that allowed the CTRL-D to work, but I never received an e-mail.

– Andrew Hummel
Jul 22 '15 at 16:32





So that allowed the CTRL-D to work, but I never received an e-mail.

– Andrew Hummel
Jul 22 '15 at 16:32













My mailq has the below messages in it.

– Andrew Hummel
Jul 22 '15 at 17:05







My mailq has the below messages in it.

– Andrew Hummel
Jul 22 '15 at 17:05















MTA Queue status... /var/spool/mqueue (8 requests) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient------ ----- t6MH143q002470* 11 Wed Jul 22 17:01 <root@localhost> <myemail@gmail.com> t6MGUFWa002231* 5 Wed Jul 22 16:30 <vagrant@localhost> (Deferred: Connection timed out with alt4.gmail-smtp-in.l.goo) <myemail@gmail.com>

– Andrew Hummel
Jul 22 '15 at 17:07







MTA Queue status... /var/spool/mqueue (8 requests) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient------ ----- t6MH143q002470* 11 Wed Jul 22 17:01 <root@localhost> <myemail@gmail.com> t6MGUFWa002231* 5 Wed Jul 22 16:30 <vagrant@localhost> (Deferred: Connection timed out with alt4.gmail-smtp-in.l.goo) <myemail@gmail.com>

– Andrew Hummel
Jul 22 '15 at 17:07




















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • 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%2funix.stackexchange.com%2fquestions%2f217670%2finstalling-mailx-on-ubuntu-14-04-2%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

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Ciclooctatetraenă Vezi și | Bibliografie | Meniu de navigare637866text4148569-500570979m