How to add dkim spf records using smarter mail

SmarterMail is a popular email server software that allows you to manage your email infrastructure. To add DKIM and SPF records using SmarterMail, follow these steps:

Step 1: Create a TXT record for SPF

  1. Log in to your SmarterMail web interface as an administrator.
  2. Go to Settings > Domain > DNS.
  3. Click on the Add DNS Record button.
  4. Select TXT as the record type.
  5. In the Name field, enter _spf.
  6. In the Value field, enter the following text: v=spf1 a mx ip4:your-ip-address -all
    • Replace your-ip-address with the IP address of your mail server.
  7. Click Save to save the record.

Step 2: Create a TXT record for DKIM

  1. Log in to your SmarterMail web interface as an administrator.
  2. Go to Settings > Domain > DNS.
  3. Click on the Add DNS Record button.
  4. Select TXT as the record type.
  5. In the Name field, enter k1._domainkey.
  6. In the Value field, enter the following text: v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4... (replace with your DKIM private key)
  7. Click Save to save the record.

Step 3: Configure DKIM in SmarterMail

  1. Log in to your SmarterMail web interface as an administrator.
  2. Go to Settings > Domain > DKIM.
  3. Click on the Add DKIM button.
  4. Enter the following information:
    • Domain: Your domain name (e.g., example.com).
    • Selector: A unique identifier for your DKIM record (e.g., k1).
    • Private Key: The private key you generated for your DKIM record.
  5. Click Save to save the DKIM configuration.

Step 4: Verify your DKIM and SPF records

  1. Use a DNS lookup tool (e.g., dig or nslookup) to verify that your SPF and DKIM records are correctly configured.
  2. Check your email logs to ensure that your emails are being sent with the correct DKIM and SPF headers.

That's it! By following these steps, you should have successfully added DKIM and SPF records using SmarterMail.