Philip Rhoades
2018-06-05 06:20:13 UTC
People,
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:
http://forum.philiprhoades.org
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:
Delivery Method
address 192.168.1.10
port 2525
domain philiprhoades.org
authentication plain
enable_starttls_auto false
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 ***@lev.com.au --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-pricom.com.au
<- 250-PIPELINING
<- 250-8BITMIME
<- 250-SIZE 0
<- 250 AUTH LOGIN PLAIN CRAM-MD5
-> MAIL FROM:<***@forum>
<- 250 ok
-> RCPT TO:<***@lev.com.au>
<- 250 ok
-> DATA
<- 354 go ahead
-> Date: Mon, 04 Jun 2018 04:12:01 +0000
-> To: ***@lev.com.au
-> From: ***@forum
-> Subject: test Mon, 04 Jun 2018 04:12:01 +0000
-> Message-Id: <***@forum>
-> X-Mailer: swaks v20170101.0 jetmore.org/john/code/swaks/
->
-> This is a test mailing
->
-> .
<- 250 ok 1528085521 qp 28575
-> QUIT
<- 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!
Thanks,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: ***@pricom.com.au
Unsubscribe: <mailto:ruby-talk-***@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
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:
http://forum.philiprhoades.org
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:
Delivery Method
address 192.168.1.10
port 2525
domain philiprhoades.org
authentication plain
enable_starttls_auto false
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 ***@lev.com.au --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-pricom.com.au
<- 250-PIPELINING
<- 250-8BITMIME
<- 250-SIZE 0
<- 250 AUTH LOGIN PLAIN CRAM-MD5
-> MAIL FROM:<***@forum>
<- 250 ok
-> RCPT TO:<***@lev.com.au>
<- 250 ok
-> DATA
<- 354 go ahead
-> Date: Mon, 04 Jun 2018 04:12:01 +0000
-> To: ***@lev.com.au
-> From: ***@forum
-> Subject: test Mon, 04 Jun 2018 04:12:01 +0000
-> Message-Id: <***@forum>
-> X-Mailer: swaks v20170101.0 jetmore.org/john/code/swaks/
->
-> This is a test mailing
->
-> .
<- 250 ok 1528085521 qp 28575
-> QUIT
<- 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!
Thanks,
Phil.
--
Philip Rhoades
PO Box 896
Cowra NSW 2794
Australia
E-mail: ***@pricom.com.au
Unsubscribe: <mailto:ruby-talk-***@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>