Do local mail servers require any special settings to work with Discourse then? My local mail servers work perfectly with other Rails apps, just not with Discourse.
log/production.rb, no verification emails are being sent after the registration. However, after logging in and clicking the resend link I do get this:
Started POST "/users/action/send_activation_email" at 2015-07-03 19:19:43 +0200
Processing by UsersController#send_activation_email as */*
Rendered text template (0.1ms)
Completed 200 OK in 229ms (Views: 3.4ms | ActiveRecord: 22.1ms)
But unfortunately still no emails in my inbox.
This is my config/discourse.conf:
# hostname running the forum
hostname = "www.example.com"
# address of smtp server used to send emails
smtp_address = localhost
# port of smtp server used to send emails
smtp_port = 25
# domain passed to smtp server
smtp_domain = example.com
# username for smtp server
# password for smtp server
# smtp authentication mechanism
smtp_authentication = none
# enable TLS encryption for smtp connections
smtp_enable_start_tls = false
# mode for verifying smtp server certificates
# to disable, set to 'none'
smtp_openssl_verify_mode = none
I'm using the sendmail / Postfix replacement OpenSMTPD and it's running just fine:
% telnet localhost 25
Connected to localhost.
Escape character is '^]'.
220 forumworld2000 ESMTP OpenSMTPD