Partner links

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

DKIM TXT record

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:

#

The mail system

<contact@example.com>: host
    eforward2.registrar-servers.com[162.xxx.xxx.62] said: 550 5.7.1
    <contact@example.com>: Relay access denied (in reply to RCPT TO
    command)

#

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

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Partner links

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
0
Hya, what do you think? Please comment.x
()
x