Hi! I just installed Discourse and my STMP Details are correct but I still do not get emails I reran everything.
My details were:
Admin: devxorwhatever@gmail.com
Then I used a mailgun account for the rest it was like
postmaster@sandbox79c1c2ead8b24728813d3f8584nfad3b1.mailgun.org
^ This is a fake
But I still do not recive any mail…
I was wondering if anyone could help?
Have you tried ./discourse-doctor
Also you should read this.
You just installed Discourse via the install guide , but email doesn’t seem to work. Unfortunately this means you can’t log in as an admin to finalize the install. Let’s troubleshootize!
Try the doctor
If you run ./discourse-doctor it will check several ways that your mail configuration might be broken, and offer advice. Try that first.
Did you enter email settings correctly?
The simplest way is to run ./discourse-setup again. Did you enter everything correctly?
You…
Yes I have and I did read it but it did not work.
Have you gone trough other topics like this one?
So I have everything set-up. I’m getting all my emails but when someone else tries registering or performing an administrative action, such as granting permissions or backing up the server, they’re not receiving their emails.
I checked my mailgun logs and it’s fine with sending emails to me, but when it shows someone else’ email it’s marked as rejected.
1 个赞
Yes I have gone through other topics like that!
This is how it looks
Is there a way that I can bypass the email verification just for the installation completion?
Im not sure if it is throwing my emails away
No. am not a 100% sure tho.
I’ve been trough the installation at least 50 times.
If you follow the official installation guide it should work. could be a miss typo and in a lot of my cases a fresh install and make sure all DNSs are correct should do trick.
They are I copied all the details from mailgun its self its worth to mention I did not do verification with a credit card
If the domain is new today the DNS propagation might still be in progress. That could take up to 72 hours but often less.
If not you should wait for someone with proper skills to help you out.
Also my server is a very secure one and discourse doctor says
sudo: unable to resolve host vps.redacted.tk: Name or service not known
Timeout to open TCP connection to stmp.mailgun.org:587 (exceeds 5 seconds)
Thats another error
Stephen
(Stephen)
2023 年1 月 22 日 14:41
14
It should be smtp.mailgun.org not stmp - I’ve corrected your title!
3 个赞
pfaffman
(Jay Pfaffman)
2023 年1 月 23 日 00:56
15
If it’s the sandbox then you need to do what’s required to configure it. The sandbox will be able to send only to you, and then you’ll need to do this all over again when you want to have a forum that other people can use.
1 个赞
Alright how do I configure it to send only to me?
Ok so I added my email and stuff but it still won’t send
pfaffman
(Jay Pfaffman)
2023 年1 月 23 日 15:42
18
You can check your logs at mailgun. If you’re not getting a bad password error then you’re likely sending from an address that mailgun is not configured for. You need to set the NOTIFICATION_EMAIL to whatever you configured mailgun for.
1 个赞
Alright will try Tommorow and will let you know the resaults
How to check logs at mailgun
Would it be possible to use my domain ok free plan aswell
And what do u mean bad password error
i redid it still not working
Canapin
(Coin-coin le Canapin)
2023 年1 月 24 日 13:34
24
Hi! It’s very straightforward. Have you tried looking by yourself before asking?
Log in to Mailgun. Select the right domain. Then click logs in the left sidebar. Pretty much everything is in the sidebar.
1 个赞
yes i have tried looking before asking