How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Russell H. Your Own Question
Russell H.
Russell H., Computer Support Specialist
Category: Email
Satisfied Customers: 10779
Experience:  Proud to have been getting computer technicalities into working order since 1988.
Type Your Email Question Here...
Russell H. is online now
A new question is answered every 9 seconds

I setup a Ubuntu server and trying to use sendmail but

Customer Question

I setup a Ubuntu server and trying to use sendmail but getting the following error, please give suggestions on how to fix this. It appears I need to setup and SPF TXT record. see report on Here is a log of
an error during mailing: Reporting-MTA: dns; localhost.localdomain Received-From-MTA: DNS; localhost.localdomain Arrival-Date: Thu, 26 Nov 2015 02:42:16 -0500 Final-Recipient: RFC822; EMAIL-ADDRESS Action: failed Status: 5.2.0 Remote-MTA: DNS;
Diagnostic-Code: SMTP; 550 5.2.0 From: Domain is invalid. Please provide a valid From: IB506 Last-Attempt-Date: Thu, 26 Nov 2015 02:42:18 -0500
Submitted: 1 year ago.
Category: Email
Expert:  Russell H. replied 1 year ago.

Hi, thank you for contacting My name is Russell. I will do my best to provide the right answer to your question.

The 'Action failed Status 5.2.0'

is the important part of that error message (-and thank you for quoting it, that is quite essential to an accurate diagnosis.)

The '5' part means it's a 'hard error', not at all uncertainly.

And being '5.2' signifies a 'mailbox status uncertain' error, or the like. In short, it may not be the SMTP setup, but rather the status of the address you sent your test email to. (I admit this is slightly questionable... but if I'm wrong at my initial estimation of the situation, let me know, and we'll work out the real solution with a little back-and-forth communication.)

In short, if that error was the result of sending an email as a test, you may have to try sending to another email address to be quite sure it's the SMTP server rather than the recipient email address/inbox status.

Customer: replied 1 year ago.
Hi - It is not clear what to do hear with your answer. Please restate.
Expert:  Russell H. replied 1 year ago.

What did you get the error message from?

My impression was that it was from a test email that you tried to send, using sendmail.

In which case my suggestion amounts to sending a test email to a different destination.

Related Email Questions