Exim4 was tested to verify it sends and receives emails.
Discourse was rebuilt with discourse-setup, using all the correct credentials:
Hostname : forum domainname com
Email : user@test com
SMTP address : mail forum domainname com
SMTP port : 587
SMTP username : postmaster@forum domainname com
SMTP password : password
Then, discourse-doctor is run to test weather Discourse can send email from the local exim4 mail server.
Discourse-doctor says:
“SMTP server connection successful.”
“Sending mail failed.”
However, there are no errors in the exim4 log.
Why does sending mail fail?
Is this a common problem?
Notice that the SMTP address is: mail forum domainname com,
should it have “mail” at the beginning?
Discourse-doctor says that Discourse does connect to:
mail forum domainname com,
but Discourse does not send the email.