> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enabling SPF and DKIM Records (WebsitePanel)

SPF/DKIM records are necessary in order to help prevent your email addresses from being spoofed, which lets unauthorized party to forge emails using @yourdomain.com mailbox.

## SPF/DKIM records

### ENABLING SPF RECORD

On WebsitePanel, by default you have a created SPF record in the following format: **v=spf1 a mx -all**

If you want to remove or edit this record, please follow the steps below.

1. Login to your **WebsitePanel**

![](https://tutorials.my-virtual-panel.com/articles/1.png)

2. Click on the **Domains** icon.

![](https://tutorials.my-virtual-panel.com/articles/2.png)

3. Select the domain you wish to edit.

![](https://tutorials.my-virtual-panel.com/articles/3.png)

4. Click on **Edit DNS** zone records.

![](https://tutorials.my-virtual-panel.com/articles/4.png)

5. If you want to add a new SPF (TXT) record, first remove the **existing TXT record** and then add the new one by clicking the **Add Record** button.

![](https://tutorials.my-virtual-panel.com/articles/5.png)

6. Choose from the drop-down menu **TXT record** and add the value you desire, after that click **Save** and your new SPF record is created successfully.

![](https://tutorials.my-virtual-panel.com/articles/6.png)

### ENABLING DKIM RECORD

1. Log into **SmarterMail as the Domain Administrator**.

![](https://tutorials.my-virtual-panel.com/articles/a.png)

2. Click the **Settings** icon.

![](https://tutorials.my-virtual-panel.com/articles/b.png)

3. Expand the **Domain Settings** and **Advanced Settings** folders in the navigation pane.

![](https://tutorials.my-virtual-panel.com/articles/c.png)

4. Click **Mail Signing**.

![](https://tutorials.my-virtual-panel.com/articles/d.png)

5. Click the **Options** tab and select the **Enable DKIM Signing** checkbox for DKIM or **Enable Domain Key** check box.

![](https://tutorials.my-virtual-panel.com/articles/e.png)

6. Click the **Certificate** tab. In the Selector field, enter a unique name.

![](https://tutorials.my-virtual-panel.com/articles/f.png)

7. Click **Generate Key** in the content pane toolbar. The TXT Record Name and TXT Record Value fields will populate. 

![](https://tutorials.my-virtual-panel.com/articles/g.png)

8. Set up the TXT Record in DNS zone for the domain using this name and value.  To do that please follow the exact same steps as ENABLING SPF RECORD just add the value for the DKIM  in the TXT Record.
