first of all I read almost every related topic about mail troubleshooting including : troubleshooting-email
and still I’m not able to receive register mail.
when I run discourse-doctor
it says :
Email address for mail test? ('n' to skip) [forum@nowbeboss.com]:
Sending mail to forum@nowbeboss.com. . .
Testing sending to forum@nowbeboss.com using discourse@forum.nowbeboss.com:ad23Ds2(8s*df@submail.nowbeboss.com:587.
SMTP server connection successful.
Sending to forum@nowbeboss.com. . .
Sending mail failed.
Replacing: SMTP_PASSWORD
Replacing: LETSENCRYPT_ACCOUNT_EMAIL
Replacing: DEVELOPER_EMAILS
Replacing: DISCOURSE_DB_PASSWORD
Replacing: Sending mail to
production logs says :
Sent mail to forum@nowbeboss.com (86.3ms)
here is my app.yml setting :
DKIM and SPF is all set.
and I can’t find any useful logs for exim, mail, syslog or anything.
I can successfully send mails through via swask
and telnet says port 587 is open
swaks output :
$ swaks --to forum@nowbeboss.com --from discourse@forum.nowbeboss.com --server submail.nowbeboss.com --auth LOGIN --auth-user discourse@forum.nowbeboss.com -tls
=== Trying submail.nowbeboss.com:25...
=== Connected to submail.nowbeboss.com.
<- 220 srvr.nowbeboss.com ESMTP Exim 4.91 Fri, 26 Oct 2018 07:38:57 +0200
-> EHLO srvr.nowbeboss.com
<- 250-srvr.nowbeboss.com Hello 7.ip-164-132-101.eu [164.132.101.7]
<- 250-SIZE 52428800
<- 250-8BITMIME
<- 250-PIPELINING
<- 250-AUTH PLAIN LOGIN
<- 250-STARTTLS
<- 250 HELP
-> STARTTLS
<- 220 TLS go ahead
=== TLS started with cipher TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256
=== TLS no local certificate set
=== TLS peer DN="/C=US/ST=Someprovince/L=Sometown/O=none/OU=none/CN=localhost/emailAddress=webaster@localhost"
~> EHLO srvr.nowbeboss.com
<~ 250-srvr.nowbeboss.com Hello 7.ip-164-132-101.eu [164.132.101.7]
<~ 250-SIZE 52428800
<~ 250-8BITMIME
<~ 250-PIPELINING
<~ 250-AUTH PLAIN LOGIN
<~ 250 HELP
~> AUTH LOGIN
<~ 334 VXNlcm5hbWU6
~> ZGlzY291cnNlQGZvcnVtLm5vd2JlYm9zcy5jb20=
<~ 334 UGFzc3dvcmQ6
~> YWQyM0RzMig4cypkZg==
<~ 235 Authentication succeeded
~> MAIL FROM:<discourse@forum.nowbeboss.com>
<~ 250 OK
~> RCPT TO:<forum@nowbeboss.com>
<~ 250 Accepted
~> DATA
<~ 354 Enter message, ending with "." on a line by itself
~> Date: Fri, 26 Oct 2018 07:38:54 +0200
~> To: forum@nowbeboss.com
~> From: discourse@forum.nowbeboss.com
~> Subject: test Fri, 26 Oct 2018 07:38:54 +0200
~> X-Mailer: swaks v20130209.0 jetmore.org/john/code/swaks/
~>
~> This is a test mailing
~>
~> .
<~ 250 OK id=1gFupl-0006TP-OW
~> QUIT