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;
}
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
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.
add a comment |
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
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 pressingCtrl
andd
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
add a comment |
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
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
linux ubuntu mailx
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 pressingCtrl
andd
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
add a comment |
Are you in fact typing the string "CTRL-D", or are you pressingCtrl
andd
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Are you in fact typing the string "CTRL-D", or are you pressing
Ctrl
andd
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