Go to port 8006 go to settings – Mail Proxy – DKIM
It is necessary to set a selector that will be registered in DNS and register our domains that we want to sign with DKIM (Enable DKIM Signing is not necessary yet to set to Yes)
Selector let it be – mail (in many manuals it is set as default ) and the yourdomain.com domain
Next, go to the DKIM generator at – https://2ip.com/dkim/ – there you need to set our selector (mail), key length (1024) and the yourdomain.com domain name that we want to configure
After generation, you will get three entries:
We are interested in a record for DNS and a private key (beginning —–BEGIN PRIVATE KEY—– this is it)
Now we edit the DNS record in the domain settings:
Add a TXT record (selector name you chose (mail) and _domainkey service word):
Subdomain mail._domainkey Text v=DKIM1;k=rsa;p=MIGfMA.....
Let’s check that the record has appeared.
Go to https://dmarcian.com/dkim-inspector/
And remember our selector and domain name (mail and yourdomain.com) – you don’t need to add the words _domainkey – click check.
Is there a record? Fine
We now go to proxmox via ssh to the directory – /etc/pmg/dkim
And we see a file there containing the domain name (domains) and the private key (mail.private – which is generated by the system)
Change the content of the key – by copying the text from the 2ip.com generator (starting from —–BEGIN PRIVATE KEY—– and up to the end)
It remains to turn on the checkboxes in the backend – sign letters with a DKIM key –
Enable DKIM Signing set to Yes
Sing All Outgoing Mail to Yes
Here, in parallel, a question arose among those who suffer – what to do with two domains going through pmx?
Everything is the same, you do not need to generate a new key. Just make the same entry in DNS, well, enter it in the DKIM settings.
That’s all 🙂
Similar Posts:
- How to Disable / Enable service in Zimbra Mail Server
- VestaCP – Debian – exim – main option “acl smtp mime” unknown
- how to upgrade proxmox mail gateway from 5.x to 6
- E: Failed to fetch https://enterprise.proxmox.com
- how to manage exim message queue