אימייל לא עובד ב-Discourse

I’m using Mailgun for my discourse and I have the records and app.yml properly set up. When I click register to make an admin and configure the discourse install It does nothing. I made an account with the rake command and got in, but when I try to register or create an account the mailgun service doesn’t send any emails.

Read this Troubleshoot email on a new Discourse install - #556 by Preeminence and tried it. Still doesn’t work.

  • All emails settings are correctly entered
  • Password doesn’t contain special characters
  • Rebuilt the app and destroyed and started the app.
  • Port 587 doesn’t work, Port 2525 works.
  • Discourse logs reports 200 OK success.
  • All records including DKIM and SPF records are set up properly.
  • Email domain is correct
  • Paid $15 upon signup to mailgun via credit card so account is activated.
  • Not using IP address of the domain. I’m using Domain name.

Any reason why Email with Mailgun is not working?

Sounds good. What do the mailgun logs say about the messages it’s received?

No logs show:

This is what I got from Mailgun.

כן, הם מהירים לשלוח אימייל עם מדריך התחלה מהירה. כדאי לשאול את Mailgun כדי לאשר מה מגבלת התעריף שלך באימייל.

לייק 1

They just referred me to: https://help.mailgun.com/hc/en-us/articles/202464990-How-can-I-start-sending-email

I’m already using the Mailgun SMTP in app.yml file.

Did I set the file up correctly?

נראה ש-DigitalOcean חסמו את פורטים 465 ו-587. הם ביטלו את החסימה, אבל זה עדיין לא עובד.

לייק 1

שנה את DISCOURSE_SMTP_USERNAME ל-postmaster@yourdomain.com, כמו כן, בצע שינוי זה במשתמש ה-SMTP ב-Mailgun.

ה-DISCOURSE_SMTP_ADDRESS שלך נכון עבור אזור/מדינה בארה"ב

כמו כן, הדיסקورس שלי עובד ללא ה-
“…” ב-DISCOURSE_SMTP_PASSWORD

זו אולי נשמעת שאלה טיפשית אבל האם אתה בטוח שאתה רוצה שדומיין המייל שלך יהיה מארח השורש (root host).

also, to save on rebuilds, might be worth adding some more plugins, below is a list of plugins i used to have and i have no idea which apply to you

כמו כן, הייתי ממליץ על חומת אש, תוכל להשתמש ב-ufw ולאחר מכן 2 כללים - כדי לאפשר פורט 487 עבור mail-receiver → אפליקציה ואם אתה משתמש ב-SSH דרך פורט 25