You are not logged in.

#1 2017-02-14 14:23:09

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

[Solved] Unable to sent email with mailx

I'm trying to sent an email to my yahoo email with mailx using:

echo "Sample Body" | mailx -v  -s "Sample Subject" xxx@yahoo.com

But it fails:

xxx@yahoo.com... Connecting to [127.0.0.1] via relay...
xxx@yahoo.com... Deferred: Connection refused by [127.0.0.1]

Last edited by leonidas (2017-02-14 14:38:04)

Offline

#2 2017-02-14 14:25:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,450
Website

Re: [Solved] Unable to sent email with mailx

How have you set up your mail server?  Postfix, sendmail, etc?  Which of those have you installed, how have you configured them?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#3 2017-02-14 14:31:04

leonidas
Member
From: Greece
Registered: 2012-08-31
Posts: 49
Website

Re: [Solved] Unable to sent email with mailx

I just installed sendmail without any configuration.

Offline

#4 2017-02-14 14:36:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,450
Website

Re: [Solved] Unable to sent email with mailx

There's your problem.  Feel free to mark your thread as Solved.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

Board footer

Powered by FluxBB