Tutorials/Tips

One reason you may be getting that “Relay access denied” error

Relay access denied is a very common email error, so I wasn’t surprised when I received one while setting up email for a new domain, which I used VestaCP to set up. To improve email delivery, I enabled DKIM.

Unfortunately, I did not complete the process before sending the first test email to an account under the new domain. So right after the email was sent, I received the Undelivered Mail Returned to Sender email, a partial content of which is shown below:

A little bit of digging showed that though DKIM was enabled, I forgot to set up a TXT record using the DKIM public key for the domain. So I took care of that, sent another test email, and that was it. A simple error can cause some major headache, so next time you’re setting up DKIM and are unable to send or receive email, check that you’ve created a TXT record for the domain.

Related Post:  So I just bought my first Apple product in 19 years
DKIM TXT record
Creating a DKIM TXT record for a domain on Namecheap
Please share:

We Recommend These Services

Register now for Big Data & AI Conference, international Big Data and AI conference in Dallas, TX (USA), June 27 - 29, 2019

Reasons to use control panel for your server

Register for the End-to-end Machine Learning with TensorFlow on Google Cloud Platform workshop. It will be conducted by the manager of Google's Cloud AI Advocacy team

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).


Leave a Comment

Your email address will not be published. Required fields are marked *

*