Email rejected due to Sender verify failed

I have created a user ‘ubuntu’. I am trying to send the mail from postfix using echo “This is a test message” | mail -s ‘Test email subject line’ -r

When I check sudo tail -200 /var/log/mail.log

The email is rejected by the receiver with the following message. I have tried almos everything.
Jan 27 06:02:39 myrhythmhouse postfix/smtp[3488]: D426BFCF4A:,[]:25, delay=42, delays=0.01/0.03/22/20, dsn=5.0.0, status=bounced (host[] said: 550-Verification failed for 550-No Such User Here 550 Sender verify failed (in reply to RCPT TO command))

Please let me know the solution to the problem.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

An SPF record should be added to your DNS if you do not have one. Some mail hosts will refuse to accept mail from senders without one.