Hi All,
Seeing the new feature to allow DKIM signing through PHPMailer, I was intrigued and thought I'd give it a try. I have configured DKIM on Postfix and Sendmail several times in the past (a chore that always causes some irritation) and so was hopeful this would make DKIM signing easier. I followed the instructions below.
https://docs.moodle.org/dev/User:Brendan_Heywood/DKIM
Yet, my DKIM always fails. I have tried removing the header/footer from the private key file, changing permissions, but no success. The emails are signed, and the TXT record is both present and valid, but DKIM still isn't passing. Thinking maybe a typo in the keys, I have remade and re-checked the keys multiple times even grabbing an online key generator's keys for one trial.
In short, I have eliminated the usual suspects, but am still left scratching my head. Anyone actually succeed in getting a DKIM pass?
Env: Moodle 3.10.2 on Nginx with Postgres Tried both Postfix and Sendmail as MTA (no DKIM configured in them)