Domain verification proves you own the domain you're sending from. This improves deliverability and prevents spam marking.

Adding a Domain

  1. Go to brand settings → Domains
  2. Click Add Domain
  3. Enter your sending domain (e.g., mail.yourdomain.com)
  4. Click Add
  5. Maillayer displays required DNS records

Required DNS Records

RecordPurpose
SPFAuthorizes servers to send for your domain
DKIMDigitally signs emails
DMARCPolicy for failed authentication

SPF Record

Type: TXT
Host: mail.yourdomain.com
Value: v=spf1 include:amazonses.com ~all

Replace amazonses.com with your provider:

  • SendGrid: sendgrid.net
  • Mailgun: mailgun.org

DKIM Records

Add the CNAME records provided by your email provider. Usually 2-3 records.

DMARC Record

Type: TXT
Host: _dmarc.yourdomain.com
Value: v=DMARC1; p=none;

Verifying

After adding DNS records:

  1. Go to brand settings → Domains
  2. Click Verify
  3. Wait for DNS propagation (usually 5-15 minutes)

Next: AWS Credentials — Set up AWS IAM credentials