Email rejected due to Sender verify failed

January 27, 2017 443 views
Email Ubuntu 16.04

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.

1 Answer

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.

by Pablo Carranza
A carefully tailored SPF record will reduce the likelihood of your domain name getting fraudulently spoofed and keep your messages from getting flagged as spam before they reach your recipients.
Have another answer? Share your knowledge.