Skip to main content
AtiT
New Member
February 10, 2019
Question

DKIM problem

  • February 10, 2019
  • 2 replies
  • 4447 views

Hello,

I have a problem with DKIM exported file.

I have read the FortiMail 6.0.3 Administration Guide page 321 how the exported DKIM should look like:

example_com._domainkey IN TXT "t=y; k=rsa; p=MIIBIjA......"

 

When I download the DKIM file from the FortiMail I get something like this:

example_com._domainkey IN TXT ("k=rsa; p=" "MIIBIjA......" "nEQp......")

 

Why is that? How I can use this in the DNS TXT record?

The DKIM checker shows: This doesn't seem to be a valid RSA public key.

 

What should I do with the DKIM file? I have only possibility to add TXT record to DNS manually not importing the dkim file.

    2 replies

    abelio
    SuperUser
    SuperUser
    February 11, 2019

    Hi,

    That's only a formatting issue.

    Edit your exported FML dkim register to the standard notation example_com._domainkey IN TXT "t=y; k=rsa; p=MIIBIjA......"

     

    Only in the case your DNS server version  doesn't support a long register, you'll need to use "" to add the second part.

     

    I mean: 

    yourdomain._domainkey   IN TXT  ("k=rsa; p=" "MIIBIjANBg...... very long string..."  "nEQp......")

     

     

    AtiT
    AtiTAuthor
    New Member
    February 12, 2019

    Thank you for your update. It seems that the standard notation works.

    Thank you very much!

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!