Avatar

Community Advisor

Hi,

 

This is one of the only search engine results for 'adobe campaign dkim', for which documentation is currently absent, so adding info here for future searchers.

 

For SPF:

Create a TXT record:
Hostname: @
Value: v=spf1 a ~all
This sets the domain to allow sending mail from IP(s) in A record(s). Set hostname to a subdomain if desired.

 

For DMARC:

Create a TXT record:

Hostname: _dmarc

Value: v=DMARC1; p=reject; rua=mailto:dmarc_agg@dmarc.250ok.net; ruf=mailto:dmarc_fr@dmarc.250ok.net; fo=1; pct=100; rf=afrf

I don't know what any of the value means, I copied it from a random marketing email sender's record. Set hostname to _dmarc.subdomain if desired.

 

For DKIM:

Create a TXT record:

Hostname: selector._domainkey

Value: v=DKIM1; p=base64 encoding of pub key

 

Follow these steps for the key pair:

  1. Create a private key: openssl genrsa -out dkim_private.pem 2048
  2. Get its public key: openssl rsa -in dkim_private.pem -pubout -outform der 2>/dev/null | openssl base64 -A
  3. Create a long text xtk:option with internal name selector_RSA_PRIVATE_KEY_domain and fill value with contents of dkim_private.pem. Selector is from the hostname field, domain is the fqdn.
  4. Set hostname to _domainkey.subdomain if desired

 

Thanks,

-Jon