So I've spent this week preparing a new server to transfer my current sites over to however like always when you think it's going well you always run into problems. I've spent all day looking around google for answers to fix the following with no luck...
When I active DKIM on my server it breaks the ability to send emails from Usermin, while I can still send emails from apple mail over SMTP and receive incoming emails on both usermin throws back the following error when I attempt to send emails:
Failed to send mail : SMTP command rcpt to: <email@example.com> failed : 554 5.7.1 <firstname.lastname@example.org>: Relay access denied
Then in my mail log i get this:
Mar 19 19:00:33 server1 postfix/smtpd: NOQUEUE: reject: RCPT from server1.exampledomain.co.uk[22.214.171.124]: 554 5.7.1 <email@example.com>: Relay access denied; from=<firstname.lastname@example.org> to=<email@example.com> proto=SMTP helo=<server1.exampledomain.co.uk>
Mar 19 19:00:33 server1 postfix/smtpd: lost connection after RCPT from server1.exampledomain.co.uk[126.96.36.199]
Mar 19 19:00:33 server1 postfix/smtpd: disconnect from server1.exampledomain.co.uk[188.8.131.52] helo=1 mail=1 rcpt=0/1 commands=2/3
I've updated my DNS with the DKIM record but when I use mxtoolbox it is quite happy with it but when sending an email to https://dkimvalidator.com it comes up with:
0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid
Now I've checked Cloudflare and I've checked my server and both DNS look to be the same for DKIM I've changed it multiple times and restarted with no change.
Can anyone show some light in this as I don't seem to be making any progress now?