DKIM or (D)Kim Possible?

I have to admit, that I am new to DKIM, but as Guugle keeps wrongly interpreting my Mails (without DKIM) as SPAM, I had to implement it (along w. TLS :°)

Now I a bit confused…:

/etc/dkim-domains.txt
/etc/dkim.key
are generated by virtualmin from
Email Settings > DomainKey Identified Mail
…where is also the DNS record

/etc/dkim/default.private
/etc/dkim/default.txt
are the ones generated by “opendkim-genkey -r -s default -d domain.tld”

…but the one I see in the b- in the headers of an incoming mail is not identical to neither and no matter which one I put in DNS, mail still gets tagged as SPAM.

I forced new key generation, went from “default._domainkey” to “2020._domainkey”, restarted opendkim and postfix several times - still G. doesn’t like my mails.

Can anybody kindly clarify this for me?
What do I need to do to “please almighty Google” so it accepts my DKIM?
Cheers

p.s. yes, I used search and I guess, I read all posts about DKIM here :slight_smile:
p.p.s. how can I find out, which other domains the key is generated for by virtualmin (and remove them)? /etc/dkim-domains.txt contains only the one I am working at. I guess this generates “result = fail
Details: OpenSSL error: data too large for key size”?

dunno how but after fumbeling and fiddeling since this morning, it went from “bad” over “This message does not contain a DKIM Signature” finally to “DKIM: pass SPF: pass rDNS: pass HELO to IP: pass” and… tadaaa: I got a test-email in G.'s inbox, not in SPAM!
Please don’t ask how I did it - I couldn’t tell! :rofl:

UH we insist for your HOWTO :stuck_out_tongue_winking_eye:

no ok joking but nice and goodluck with your server.

what os you are running this on? tls means nothing - if you on ubuntu please say that proudly and loudly :slight_smile: - its important man… tls mean from me from debian 6 till 10… and I am still on tls…