I can’t get past the initial account creation as I can’t get discourse to send any emails.
I set up a new DO instance, and configured exim on it. I’ve tested it out and it can relay email correctly (transcript below).
It doesn’t need a password or authentication or TLS. But my configuration is not working:
DISCOURSE_HOSTNAME: 'forum.keyboardmaestro.com' ## ## The mailserver this Discourse instance will use DISCOURSE_SMTP_ADDRESS: 'localhost' # (mandatory) DISCOURSE_SMTP_PORT: 25 # (optional) DISCOURSE_SMTP_ENABLE_START_TLS: false # DISCOURSE_SMTP_USER_NAME: firstname.lastname@example.org # (optional) # DISCOURSE_SMTP_PASSWORD: p@ssword # (optional)
The exim logs show now attempted connection at all, and I’ve tried resending the activation email multiple times with lots of guesses at configuration, and multiple “./launcher rebuild app” between each.
# telnet localhost smtp Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 forum.keyboardmaestro.com ESMTP Exim 4.82 Ubuntu Wed, 28 May 2014 04:30:20 -0400 helo whatever 250 forum.keyboardmaestro.com Hello localhost [127.0.0.1] mail from: email@example.com 250 OK rcpt to: firstname.lastname@example.org 250 Accepted data 354 Enter message, ending with "." on a line by itself From: email@example.com To: firstname.lastname@example.org Subject: I hatte smtp test . 250 OK id=1WpZFz-0002th-9D quit 221 forum.keyboardmaestro.com closing connection