DKIM TXT record

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:

Related Post:  Robotic Process Automation for Professionals

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.

DKIM TXT record

Creating a DKIM TXT record for a domain on Namecheap

Please share:
Tags: No tags

Add a Comment

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