Easy Hosting Control Panel (EHCP) :: Force Edition
EHCP Force Support => Technical Help => Topic started by: maxiozzia on May 12, 2019, 09:22:23 am
-
There is a tested way to implement DKIM validation for postfix in ehcp?
-
Not at the moment. I am not really a fan of DKIM either to be honest, and it looks like a rather complicated setup:
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-dkim-with-postfix-on-debian-wheezy
-
OK, I have no idea if this works, but based on my understanding of DKIM, I think it should? I've configured EHCP to allow setting the "default" key signing domain in the "Advanced Settings" of the panel (http://{URL_TO_YOUR_PANEL}/ehcp/index.php?op=advancedsettings). You'll need to update to the latest developer version SVN in order to test (instructions are here https://ehcpforce.tk/download.php#svn-version)
(https://ehcpforce.tk/images/dkim_ehcp_panel.png)
Could you please test it and let me know? The idea is that only one domain will be used to sign for all of the emails coming from multiple domains configured on the server the EHCP panel is running on. I'm thinking this is the only configuration I have to do, but I'm not sure.
Commits dealing with this new functionality are under "Commits on May 22, 2019" here:
https://github.com/earnolmartin/EHCP-Force-Edition/commits/master
Please give it a shot, and let me know if it works or not. And, if you could help me figure out what's wrong, that would be great. The way this functionality works is that the /var/www/new/ehcp/scripts/install_dkim_postfix.sh script configures dkim and postfix for a specific domain, generates the keys for it, and returns the public key back to the EHCP daemon which then stores it as a custom TXT DNS setting in the panel.
So, to debug and troubleshoot, I would look at that bash script since it's doing the majority of the work.
Please let me know if I got it right or horribly wrong...
-
I will test asap and update you.
Thanks for your work.
-
Thanks. I made some updates a few hours ago, so please be sure you get them. I have DKIM passing according to Gmail from my own testing. It works for me! Just waiting on hearing from you. :)
-
Great work! Successfull tested on Ubuntu 18.04.