Discourse Forum Setup: Difference between revisions

From Traxel Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 39: Line 39:
## Twice as entertaining
## Twice as entertaining
# Troubles with email
# Troubles with email
## https://docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix.html#send-email-postfix
## Tried SES and Workmail endpoints, STARTTLS and SSL/TLS, 587 and 465, bob and discourse.admin, telnet confirmed connectivity, sent email using Thunderbird. No dice with Discourse.
## Tried SES and Workmail endpoints, STARTTLS and SSL/TLS, 587 and 465, bob and discourse.admin, telnet confirmed connectivity, sent email using Thunderbird. No dice with Discourse.
## I think the next step is to set up a local SMTP server that forwards to Workmail
### https://docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix.html#send-email-postfix
# ------------------
# ------------------
# Set ports (at some point)
# Set ports (at some point)

Revision as of 00:04, 19 November 2020

  1. Pick domain for trial (probably bobbushman.com)
    1. Correction - using experiencemaking.com since email is already set up
  2. Setup email for domain
    1. AWS Mail
      • Cheating - Experiencemaking.com is already set up. :D
    2. DNS registry setup
      • Cheating - Experiencemaking.com is already set up. :D
    3. Admin account for Let's Encrypt cert
      • created forum.admin@experiencemaking.com
  3. Create Lightsail node
    • Created a $5 node.
    • Assigned static IP: 44.238.32.225
    • opened port 443 (HTTPS) through firewall
  4. DNS registry for forum.experiencemaking.com
    • done
    • Login successful. It's alive!
  5. Apt Update
    • sudo apt update
    • sudo apt dist-upgrade -y
    • sudo reboot # if needed
  6. Install Extras
    • sudo apt install git
    • sudo apt install netcat
  7. Install Discourse
    1. https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md
    2. $ sudo -s
    3. $ git clone https://github.com/discourse/discourse_docker.git /var/discourse
    4. $ cd /var/discourse
    5. Going to take a stab at doing this without SPF. I've already got DKIM, and Amazon SES does ses.amazon.com SPF. We'll see. Easy enough to try again.
    6. $ ./discourse-setup
      1. Hostname  : forum.experiencemaking.com
      2. Email  : forum.admin@experiencemaking.com
      3. SMTP address  : smtp.mail.us-west-2.awsapps.com
      4. SMTP port  : 465
      5. SMTP username : discourse.admin@experiencemaking.com
      6. SMTP password : password1.no.really.I.used.password1.haha.entertainment
      7. Let's Encrypt : forum.admin@experiencemaking.com
  8. Register Admin Account
    1. Twice as entertaining
  9. Troubles with email
    1. Tried SES and Workmail endpoints, STARTTLS and SSL/TLS, 587 and 465, bob and discourse.admin, telnet confirmed connectivity, sent email using Thunderbird. No dice with Discourse.
    2. I think the next step is to set up a local SMTP server that forwards to Workmail
      1. https://docs.aws.amazon.com/ses/latest/DeveloperGuide/postfix.html#send-email-postfix
  10. ------------------
  11. Set ports (at some point)
  12. Install Docker