Posted April 27Apr 27 Hi everyone,I am running CWP on Almalinux8 and recently ran into an email‐delivery problem.When I checked /etc/opendkim/userkeys/mydomain.com, I discovered that both default.txt (DNS record) and default.private (signing key) are missing.What I have tried so far:Used the DKIM Manager in CWP to regenerate keys.Rebuilt/restarted the mailserver via CWP’s control panel.Unfortunately, the key files never appear and the DKIM signature remains invalid.Can anyone share the exact steps or commands to regenerate the DKIM key pair (default.txt / default.private) for a domain under CWP?
April 28Apr 28 You can use the following command:opendkim-genkey -b 1024 -d yourdomain.com -D /etc/opendkim/keys/yourdomain.com -s yourselector -vIf that doesn't work, you'll need to resort to a longer checklist, which you can check here:<https://easydmarc.com/blog/how-to-configure-dkim-opendkim-with-postfix/>Regards,Netino
Create an account or sign in to comment