I can't ask this question on the Discourse forum because I installed the Bitnami stack into my Docker container and the Docker people won't answer questions if you don't use their container - so I thought there might be some Rubyists who have had some experience with Discourse or at least might be interested enough to help me debug this problem (I am assuming it is Ruby-related).
I have the container working fine here:
BUT . . emails aren't working . .
Installing into a Docker container was sort of an exercise but I if I can sort out this last problem, I can actually make use of the install - and doing a Bitnami install is MUCH nicer than the standard install!.
I can send emails to the host with telnet and swaks but not with Discourse - settings:
gives: "There was a problem sending the test email. Please double-check your mail settings, verify that your host is not blocking mail connections, and try again."
BUT swaks actually works giving:
# swaks --to firstname.lastname@example.org --server 192.168.1.10 -p 2525
=== Trying 192.168.1.10:2525...
=== Connected to 192.168.1.10.
<- 220 pricom.com.au ESMTP
-> EHLO forum
<- 250-SIZE 0
<- 250 AUTH LOGIN PLAIN CRAM-MD5
-> MAIL FROM:<root@forum>
<- 250 ok
-> RCPT TO:<email@example.com>
<- 250 ok
<- 354 go ahead
-> Date: Mon, 04 Jun 2018 04:12:01 +0000
-> To: firstname.lastname@example.org
-> From: root@forum
-> Subject: test Mon, 04 Jun 2018 04:12:01 +0000
-> Message-Id: <20180604041201.023991@forum>
-> X-Mailer: swaks v20170101.0 jetmore.org/john/code/swaks/
-> This is a test mailing
<- 250 ok 1528085521 qp 28575
<- 221 pricom.com.au
=== Connection closed with remote host.
and the mail is actually delivered - I've tried lots of permutations of the Discourse config but can't see what is wrong. Any helpful suggestions appreciated!
PO Box 896
Cowra NSW 2794