No DKIM signature

jeremy4949

New Member
Nov 2, 2024
2
1
3
Hello :)

I have PMG (version 8.1.4 up to date) as a front-end server and a Debian Postfix / Dovecot server (Debian 12 up to date) for mail storage.
PMG is used to filter incoming and outgoing mail for spam and viruses.
I wanted to add the DKIM signature on Proxmox, I created the selector, configured the private and public key and declared it in the DNS.
I checked the DNS record for DKIM and it's OK.
But I have the impression that Proxmox doesn't sign outgoing mail.
During my tests when I consult the mail header I get 'dkim=unknown' and no log concerning the DKIM on PMG.
If I sign with my postfix on my backend server, it works fine.
I've checked my /etc/pmg/pmg.conf file and it's up to date with what's on the interface.
Do you have any ideas about this problem?
 

Attachments

  • Capture d’écran du 2024-11-06 09-38-26.png
    Capture d’écran du 2024-11-06 09-38-26.png
    66.3 KB · Views: 2
  • Capture d’écran du 2024-11-06 09-39-44.png
    Capture d’écran du 2024-11-06 09-39-44.png
    32.8 KB · Views: 2
please share text (as for example the part of the pmg.conf file) as text in
Code:
 blocks - it's much easier to read and quote.

else - make sure you send the mails to the internal port (defaults to 26).

and if this does not fix it - try removing the "sign all email" checkbox (it's not needed if you specify the dkim domains below)
 
I just checked the postfix backend configuration, and it was sending to PMG port 25 and not 26.
It's a configuration error on my part, my bad :/
OK, since I'm going to declare all domains to be signed, I unchecked the “Sign All Outgoing Mail” box.
Thanks a lot for your help ;)
 
  • Like
Reactions: Stoiko Ivanov

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!