Help with dkim

Migdiradmin

Verified User
Joined
Jan 5, 2020
Messages
152
I need some help with dkim configuration.

My configuration
- Server A Cpanel - Host the site
- Server B directadmin (email sender)
- I Use cloudflare to protect Server A

From my knowledge only i need to configure dkim in cloudflare dns and server B where the email is sending right?

SPF
DMARC
is working ok, but i dont now how to manage DKIM with directadmin.

Any help?
 
directadmin_dkim.png





cloudflare_dkim.png


I think is everything right.



How to generate new dkim in directadmin?
And about x_domainkey is that way?

There is a page wen i can test DKIM?
 
Hello guys, my question is pretty similar. Please help.

I purchased a VPS and want to use it as a outgoing mailserver and incoming POP3-server. I have already an other working collaboration server, working DKIM setup in the collab server and DNS at a externe hosting provider. My collab server is working perfectly with DKIM, DMARC and SPF. POP3 works also fine.

I want to add the new VPS-server as an outgoing mailserver to the domain with working DKIM.

I can't get DA to work on DKIM. I have a domain, user and DNS-zone with DKIM record. DKIM record is similar to my public DNS-record at my domainname hosting provider.

directadmin c | grep dkim --> dkim_selector=x (exim.dkim.conf has selector based on my public DNS) --> how to get aligned?
/virtual .... dkim.private.key and public key files --> content represents the correct keys based on the working collab server and DNS-record
/virtual/domains --> hostname is like FQDN-name in DNS

Mailflow from DA to internet --> no DKIM present (alignment and authenticated) (SPF and DMARC oke)
Mailflow from collab server via VPS outgoing server to internet --> all works ok (DMARC,DKIM and SPF)
(https://mxtoolbox.com/deliverability)

How do I setup DA correctly in my situation?
I don't want DA DKIM-content to my DNS-provider and working collab server.
 
Last edited:
How do I setup DA correctly in my situation?
I don't want DA DKIM-content to my DNS-provider and working collab server.
DKIM works with DNS.
For DKIM to work you do have to copy your DKIM TXT key to your DNS provider to work if you are using external DNS.

If you don't want that, then you have to run your own nameservers.

If it's about the same domain, then I doubt very much that a domain can have multiple DKIM records. Which would also be odd.
 
DKIM works with DNS.
For DKIM to work you do have to copy your DKIM TXT key to your DNS provider to work if you are using external DNS.

If you don't want that, then you have to run your own nameservers.

If it's about the same domain, then I doubt very much that a domain can have multiple DKIM records. Which would also be odd.
Thanks, based on your reply I realized I made an error in judgement. Adding the local DA DNS-record to my external DNS works. All tests succesful for both my servers.

Greatfull for your help!
 
Back
Top