Content
SMTP for Exchange Server no auth
Added by Jon Klinect almost 10 years ago
I just created a new Ubuntu 14.04 64bit server with the base install and ran the packager installation for OpenProject 4.0.4. So far everything is working except email. My exchange server has an open relay internally on port 2525. In outlook this port does not require any kind of authentication. However, when I try to test an email from settings, I get:
An error occurred while sending mail (SMTP-AUTH requested but missing user name)
Here is my configuration.yml file:
default:
email_delivery_method: smtp
smtp_address: exchange.corp.mydomain.com
smtp_port: 2525
smtp_domain: openproject.corp.mydomain.com
(not sure why its not showing when I’m viewing my post, but I do still have the 2 space indent on all the email settings)
Anyone have any thoughts on this?
Replies (2)
If I try to use the email settings posted here:
https://community.openproject.org/topics/441
I get the following message:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /admin/test_email.
Reason: Error reading from remote server
Apache/2.4.7 (Ubuntu) Server at openproject.corp.mydomain.com Port 80
Hi,
can you please try to set the email settings via openproject config set: … command? I think the best way might be to do
openproject reconfigure
and then set the correct email settings. Be aware that you have to reset theconfiguration.yml
to the default one again. See this link to view the content of that file.I this is not working please paste the results of the
openproject config
command here.Regards,
Karsten