Hello friends, good day.
First, I want to clarify that I do not speak or write English. I speak and write Spanish. That’s why I’m using Google Translate. Please accept my apologies.
My experience is with shared hosting and using Gmail for emails; that is, I have no experience with this type of system.
My problem is that I cannot install the system. It is impossible to send the activation email.
Here are the steps and actions I have taken:
1 - I contracted the Digital Ocean service with the Discourse application pre-installed.
2 - Activated the domain.
3 - Configured Mailgun, creating subdomains to handle email.
Now, I will try to explain step by step what I did:
1 - I obtained a Droplet on DigitalOcean with Ubuntu and Discourse pre-installed.
2 - The domain is configured with its respective DNS records provided by DigitalOcean.
3 - In Mailgun, I created the domain and two subdomains. In the Discourse installation, I only use a single subdomain.
4 - Mailgun configuration was completed using the DNS settings in DigitalOcean.
5 - Each subdomain and domain is correctly active, according to Mailgun.
6 - According to the guide on GitHub and the Discourse installation process:
* Hostname for your Discourse? [discourse.example.com]:
* ---- At this point, can you use the root domain?
* Email address for admin account(s)? [me@example.com, you@example.com]:
* ----- In this section, I entered my email address, in this case, a Gmail address.
-
SMTP server address? [smtp.example.com]:
SMTP port? [587]:
SMTP user name? [user@example.com]:
SMTP password? [pa$$word]:
Let’s Encrypt account email? (ENTER to skip) [me@example.com]: -
------ In these steps, the data provided by Mailgun should be entered.
Here is the actual configuration:
DISCOURSE_HOSTNAME: ‘discourse.mecanicosargentinos.com’
DISCOURSE_DEVELOPER_EMAILS: ‘xxxxxxxxx@gmail.com’
DISCOURSE_SMTP_ADDRESS: smtp.mailgun.org # required
DISCOURSE_SMTP_PORT: 587 # (optional, default 587)
DISCOURSE_SMTP_USER_NAME: postmaster@discourse.mecanicosargentinos.com # required
DISCOURSE_SMTP_PASSWORD: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # required, WARNING: the character ‘#’ in the password can cause problems!
#DISCOURSE_SMTP_ENABLE_START_TLS: true # (optional, default true)
Below is a log from a subdomain; keep in mind that the attempts are from Outlook.
7 - Following this guide:
https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326/2
If I run this command:
telnet smtp.mailgun.org 587
I get this result:
I must be doing something wrong. Can you help me? Thank you so much!!!