multiple DKIM keys, not signing

adammakowski

New Member
Nov 15, 2024
1
0
1
Hi all
I hope someone can help me, I have already spent many hours testing and still can't solve this problem

My situation looks like this:

I am in the hosting business. I use Enhance Control Panel and have the ability to set up smarthost there, so I built a server with Proxmox Mail Gateway. Proxmox Mail Gateway is supposed to be used for sending emails.
I created all DNS records, DKIM keys, etc, I think I configured everything well. Almost everything works well except for one thing.

1. when the client configures SMTP in WordPress using the plugin sending emails works fine, they go to the main inbox in Gmail and are signed and trusted. I created a domain smtp.domain.com with port 587.
2. when a client uses webmail (Roundcube) and sends emails they always end up in gmail spam. I have tested with many 'email spam test' checking tools and they show that for some reason the DKIM key from Proxmox Mail Gateway does not sign.

In PMG settings I have enabled options, 'Enable DKIM signing' and 'Sing all outgoing mail', this way SMTP on sites works and does not go to spam.

When I disable these options, 'Enable DKIM signing' and 'Sing all outgoing mail' then emails from SMTP go to spam and mail from webmail goes to inbox because then they are signed with DKIM key from control panel.

I have 2 DKIM keys in the DNS settings of the domains, 1 is from control panel and the other from PMG. The key from control panel I don't want to delete.


Do you have any ideas how I can solve this?

I would be grateful