I have a VPS using Virtualmin to host a mail server. I am using a separate VPS (also using Virtualmin) as a webserver.
@ domain.com points to .xxxx ← IP of webserver
mail.domain.com points to .yyyy ← IP of mail server
The MX records also point to the mail server, too.
I am trying to set up DKIM.
I have the Virtualmin Milter module set up. When I use the AppMailDev tool, I get the error "DKIM Result: Fail (Bad Signature). I can see the signature portion of the email in the AppMailDev tool.
I read this guide at vpsfix, and it said Virtualmin should add the public key for me…
What am I doing wrong?