Can a host without a domain name configure mail services?


(qianqiang) #1

Can a host without a domain name configure mail services?


(Bhanu Sharma) #2

Technically, Yes!

But it’s neither recommended nor is a Good practice to use IP address to host discourse instead of a FQDN and your mails would probably end up in spam or even worse getting rejected.


(qianqiang) #3

For this project, I use a Chinese qq mailbox server. Here is my configuration,


It’s not working.


(Bhanu Sharma) #4

What does Your /logs say?


(qianqiang) #5

I use the mail test function, this log record.

Started POST "/admin/email/test" for 117.136.45.67 at 2018-04-16 17:23:39 +0800
Processing by Admin::EmailController#test as */*
Parameters: {"email_address"=>"1056427114@qq.com"}
Sent mail to 1056427114@qq.com (30074.4ms)
Completed 422 Unprocessable Entity in 30109ms (Views: 0.3ms | ActiveRecord: 1.9ms)

But I didn’t receive the test email


(Bhanu Sharma) #6

Problem is with qq not discourse.

maybe try commenting the DISCOURSE_SMTP_AUTH in app.yml & rebuild?


(qianqiang) #7

I do not understand, can you explain clearly? thank you very much.


(Bhanu Sharma) #8

refer this thread:


(qianqiang) #9

I did it, but it didn’t work.:joy:


(Bhanu Sharma) #10

Contact qq for help then. Discourse isn’t supposed to use mailboxes to send out notification emails.


(qianqiang) #11

OK.thank you very much.