Re: Sending a simple mail from debian slug
- To: email@example.com
- Subject: Re: Sending a simple mail from debian slug
- From: Mark Morgan Lloyd <markMLl.firstname.lastname@example.org>
- Date: Fri, 14 Dec 2012 15:24:38 +0000
- Message-id: <email@example.com>
- In-reply-to: <firstname.lastname@example.org>
- References: <email@example.com>
Tobias Wagner wrote:
I am trying to send a simple email to my address with no success. I
logged in via ssh and typed:
echo "This is a test." | mail -s "Test subject" firstname.lastname@example.org
It didn't give an error message, but no email was received.
I have searched the net but there's so many tools associated to it
(mutt, exim, sendmail, ...) that I am totally confused. I only need to
send mails from commandline, no inbox needed.
Any help would be great.
P.S.: I have a NSLU2 with debian as described at cyrius.com.
I'm using that sort of setup for various things. Have you checked for a
failure message sent to the root user on that machine, of used mail's -v
option? In extremis use Telnet to see what the remote server's saying
over SMTP... are you /sure/ email@example.com is a good recipient?
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]