דואר אלקטרוני לא עובד לאחר מעבר לאירוח עצמי והוספת רשומת DKIM

סיכום מבוסס בינה מלאכותית

A user, JMA, reports that email functionality stopped working after moving to self-hosting and adding a DKIM record for their Discourse instance. Despite initial success, emails now fail to arrive, even when tested via mail-tester, suggesting they aren’t being sent. The user has shared screenshots of their SMTP settings in app.yml, their DNS records (SPF, DKIM, MX), and results from MXToolbox. They are unsure if the issue lies in the SPF, DKIM, or SMTP configuration. pfaffman suggests checking with privateemail.com for compatibility and refers to a troubleshooting guide for email setup on new Discourse installations Troubleshooting email on a new Discourse install.

We’ve moved from discourse-hosting to self-hosting and can’t seem to get e-mail to work properly. E.g., when i try to use mail-tester in combination with the mail-testing function of discourse the mail doesn’t even appear to be sent or at least it never shows up in mail-testers mailbox even though it says it sent the e-mail on discourse. Apparently E-Mail worked in the beginning but after setting up the DKIM record it stopped working.

Domain and Mailserver are with namecheap.

These are the SMTP Settings in the app.yml file:

I’m not quite sure what i’m missing, did i set up the SPF record incorrectly? Is there an issue with my SMTP settings or the DKIM record?

Any pointers or help would be greatly appreciated, thank you! :slight_smile:

More Screenshots below, since i can only upload one picture per post.

These are the records i currently have set-up:

This is what Mxtoolbox comes up with when I test my domain and e-mail:

and

You’ll need to check with privateemail.com to see if you have stuff set up to suit them. You might also have a look at Troubleshooting email on a new Discourse install for some tips.