I had cause to reset my SMTP password in mailgun.
I re-ran the discourse set up ( twice double checking the password)
but I still cannot send email.
I followed the help at This Question and found the message “Mailgun is not loving your login or password”
The login has not changed and I have double checked the new password.
AI-generated summary
The discussion revolves around a Discourse setup issue with Mailgun, where the error message “Mailgun is not loving your login or password” appears. kgreed initially reset their SMTP password in Mailgun, re-ran the Discourse setup, but still couldn’t send emails. After some investigation, pfaffman suggested that kgreed might be confusing the API key and SMTP password, which kgreed denied.
Pfaffman then asked for clarification on the password, and kgreed confirmed they were using the default password. Further discussion ensued, with kgreed wondering if there were expectations about the password length.
The breakthrough came when kgreed realized they were using postmaster@discourse.mydomain.com in the Discourse setup, whereas the Mailgun login was postmaster@mydomain.com. Pfaffman advised using the Mailgun-specified username, which is the default postmaster@mydomain.com. This issue seems to have arisen from the 30-minute setup instructions initially using postmaster@discourse.example.com, which somehow got changed in kgreed’s setup.
Are you confusing the API key and the smtp password?
I dont think so.
The only thing I changed was DISCOURSE_SMTP_PASSWORD in Discourse Setup and the password in MailGun
Yes. Only with my domain name instead of d.Itcmp.net and different IP Address, API Key and password.
You want the password, though, not the API Key.
Yes the default password.
I have checked several times
Could there be some expectation about the password? Over 26 characters for example?
I have only started look at MX records etc because I don’t know what else to check.
In discourse set up I was using the SMTP email address postmaster@discourse.mydomain.com however the mailgun login is just postmaster@mydomain.com Which one should I change?
You should use the one that mailgun said to use. So take discourse out of the username.
I got confused because the 30 minute set up instructions had [postmaster@discourse.example.com]:
and postmaster@discourse.mydomain.com did actually work for me at first strangely.
That’s the default username for mailgun. It appears that yours somehow got changed.
