Email Authentication

This article explains how to enable DKIM and SPF from cPanel and how to publish a DMARC record. These checks make it harder for anyone to send mail pretending to be your domain.

What is it for?

The server receiving the message checks the domain's DNS before deciding whether the sender is authorized. Each record looks at something different:

  • SPF indicates which servers can send mail for that domain.
  • DKIM signs the message. The receiver compares that signature with a key published in the DNS.
  • DMARC tells the receiver what to do if SPF or DKIM do not match the sender's domain.

Having the records correct does not force the destination to deliver the mail to the inbox. It reduces rejections due to lack of authentication and forged mailings with your domain.

Access: log in to cPanel from the client portal → Log in to cPanel, or at https://yourdomain.com/cpanel. For DKIM and SPF, go to Email → Email Deliverability.

Enable DKIM and SPF

  1. Log in to cPanel.
  2. Open Email → Email Deliverability.

Email Deliverability en cPanel

  1. Under the domain, click Repair if a problem appears and confirm the change.
  2. Click Manage to view the record details.

Reparar o administrar la autenticación del dominio

  1. Under DKIM and SPF, if the status is not valid, click Install the suggested record.

Instalar el registro DKIM o SPF sugerido

The values in the image are an example. cPanel completes the ones for each domain. After a few seconds, the screen confirms that the record has been installed.

Check the PTR

On the same screen you can view the status of the PTR, the reverse name of the IP sending the mail.

Estado del registro PTR en Email Deliverability

In shared hosting, that data belongs to the server's IP. If it shows problems, it is not fixed from the domain's DNS zone.

Important: Repair and Install the suggested record write to the DNS zone of this hosting. If the domain's DNS is managed elsewhere, copy the suggested records and publish them there. If mail goes out through another service, do not install cPanel's SPF or DKIM: use the ones indicated by that service. The cPanel record authorizes this server, not the other one.

Publish DMARC

DMARC does not replace SPF or DKIM. Those two have to be valid. If a suggested DMARC already appears under Manage, install it from there. If it doesn't appear, create it in the DNS zone:

  1. Go to Domains → Zone Editor.
  2. Under the domain, click Manage.
  3. Click Add Record and choose TXT.
  4. Complete:
    • Name: _dmarc if the form adds the domain automatically. If it requests the full name, use _dmarc.yourdomain.com. with the trailing dot, and change yourdomain.com to yours.
    • TTL: 14400.
    • Type: TXT.
    • Value: v=DMARC1; p=none.
  5. Click Add Record.

p=none requests reports and does not change delivery. When DKIM and SPF have been in a valid status for a while, you can switch to p=quarantine. p=reject makes the destination reject what does not authenticate: do not use it while there are legitimate mailings from another system.

Common issues

  • Repair does not appear or cannot install the record: the domain's DNS is not on this hosting. You must publish the values on the DNS server used by the domain.
  • After installing SPF, other mailings fail: that mail goes out through another service and the new SPF does not include it. You must use the sender's record, or add that service to the SPF.
  • DMARC is not visible: the name became duplicated, for example _dmarc.yourdomain.com.yourdomain.com. Delete the record and create it again with _dmarc or with the full name, depending on what the form requests.
  • I switched to p=reject and valid mail is being rejected: revert the value to p=none until SPF and DKIM cover all systems sending with your domain.
  • The PTR shows as having issues: on shared hosting, the provider reviews it. It is not fixed by creating a record in the domain's zone.

If the status remains with a problem even though the DNS is already delegated to this hosting, the PTR does not validate, or you don't know which record to leave because the mail goes out through another service, open a ticket from the client portal or inquire via the site's online chat.

  • registro dkim, registro spf, registros dmarc, autenticacion cpanel, autenticacion de correo, email authentication
  • 44 Users Found This Useful
Was this answer helpful?

Related Articles

How to delete messages using WebMail

This article explains how to view and delete messages in Roundcube, and how to delete them from...

Webmail - Unable to access my messages

This article explains why Webmail might not let you view or save messages, and how to check your...

How to save copies of sent messages using Webmail

This article explains how to save a copy of sent messages in Roundcube, the hosting's current...

Catch-all mailbox (Default Address)

This article explains what a catch-all mailbox is and how to enable or disable it using cPanel's...

How to enable SpamAssassin

This article explains how to enable the spam filter in cPanel so that new messages with a high...