Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

OS: Ubuntu 14.04 Stack: LAMP
I followed Jonathan’s instructions from from this post.
I created a test email and saved it at /tmp/email.txt
I tried to send a test email from a text file to my Yahoo email account using this command:
sendmail roypenrod123@yahoo.com < /tmp/email.txt
The process completed.
When I logged back in, it said I had mail.
I installed mailutils to read the mail. It was a returned message saying sendmail couldn’t send the message and it mentioned a fatal error.
Here is the complete message:
From MAILER-DAEMON Fri Nov 13 11:22:34 2015
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
by roypenroddotcom (8.14.4/8.14.4/Debian-4.1ubuntu1) id tADGMYu6005485;
Fri, 13 Nov 2015 11:22:34 -0500
Date: Fri, 13 Nov 2015 11:22:34 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <201511131622.tADGMYu6005485@roypenroddotcom>
To: <roy@roypenroddotcom>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="tADGMYu6005485.1447431754/roypenroddotcom"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
This is a MIME-encapsulated message
--tADGMYu6005485.1447431754/roypenroddotcom
The original message was received at Fri, 13 Nov 2015 11:22:33 -0500
from localhost [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<roypenrod123@yahoo.com>
(reason: 501 Syntax error in parameters or arguments)
----- Transcript of session follows -----
... while talking to mta7.am0.yahoodns.net.:
>>> MAIL From:<roy@roypenroddotcom> SIZE=637
<<< 501 Syntax error in parameters or arguments
501 5.6.0 Data format error
--tADGMYu6005485.1447431754/roypenroddotcom
Content-Type: message/delivery-status
Reporting-MTA: dns; roypenroddotcom
Received-From-MTA: DNS; localhost
Arrival-Date: Fri, 13 Nov 2015 11:22:33 -0500
Final-Recipient: RFC822; roypenrod123@yahoo.com
Action: failed
Status: 5.5.2
Diagnostic-Code: SMTP; 501 Syntax error in parameters or arguments
Last-Attempt-Date: Fri, 13 Nov 2015 11:22:34 -0500
--tADGMYu6005485.1447431754/roypenroddotcom
Content-Type: text/rfc822-headers
Return-Path: <roy@roypenroddotcom>
Received: from roypenroddotcom (localhost [127.0.0.1])
by roypenroddotcom (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id tADGMXu6005483
for <roypenrod123@yahoo.com>; Fri, 13 Nov 2015 11:22:33 -0500
Received: (from roy@localhost)
by roypenroddotcom (8.14.4/8.14.4/Submit) id tADGMXlU005480
for roypenrod123@yahoo.com; Fri, 13 Nov 2015 11:22:33 -0500
Date: Fri, 13 Nov 2015 11:22:33 -0500
From: Roy Penrod <roy@roypenroddotcom>
Message-Id: <201511131622.tADGMXlU005480@roypenroddotcom>
Subject: Terminal Email Send
--tADGMYu6005485.1447431754/roypenroddotcom--
Problem 1:
I noticed the return-path is roy@roypenroddotcom. I named my host roypenroddotcom because it’s hosting my own personal site, roypenrod.com.
I’m very new to Linux, so I didn’t know the hostname would affect this. How do I change it so my email address is actually roy@roypenrod.com?
Problem 2:
Why did the sendmail fail? Was it the incorrect email address? Did I set something up wrong? Do I need to configure sendmail?
Any help you can give me is very much appreciated.
Roy
adf990733ce34c20a86418222e2dda
rajud yadav
50ff4e4b3c6c4999a12403b1ecda95
Erina Jones
05c643336f3a4578a0b414e11ed8fc
378226414b344d3d9ef057316f83e8
792d8c6065294b4da466a26b2a99e4
KFSys
fe9c7f1f3d29491e8c9905409bd159
LittleSeaGreenMorel
504ba8e5f370441283486b46f86d4e
Wilson Karl