Content
SMTP Settings localhost
Added by Sebastian Werling over 7 years ago
Hello Everyone,
I’d like to test openproject on my ubuntu 16.04 Machine.
The installation was successfull and i can load the page on the webbrowser.
But I encountered a problem with the SMTP configuration.
I configured postfix and it works fine. I can send mails via
echo "test" | mail -s "topic" email
example.com @
My smtp file looks like this:
export EMAIL_DELIVERY_METHOD=“smtp”
export ADMIN_EMAIL=“admin@example.com”
export SMTP_AUTHENTICATION=“none”
export SMTP_HOST=“localhost”
export SMTP_PORT=“25”
export SMTP_DOMAIN=“localhost”
export SMTP_URL=“smtp://localhost”
The Logfile says:
SocketError (getaddrinfo: Name or service not known)
Im not 100% sure how the HOST and DOMAIN names have to look like..
Therefore I’d like to kindly ask, if somebody can help me.
\EDIT: Of course the machine is not reachable from the internet.
Replies (3)
Ok I solved my own problem. My smtp file looks now like this:
export EMAIL_DELIVERY_METHOD=“smtp”
export ADMIN_EMAIL=“admin@example.com”
export SMTP_AUTHENTICATION=“none”
export SMTP_HOST=“MercurialServer”
export SMTP_PORT=“25”
export SMTP_DOMAIN=“Intranet.tst”
export SMTP_URL=“smtp://MercurialServer.Intranet.tst:25”
If I enter this command:
openrpoject run check
Everything seems to be fine and the mail is sended out, but there is still a problem.
Wenn I press the forget password button, there is always a Internal error: 500.
And the log still says: SocketError (getaddrinfo: Name or service not known)
Does anybody have an idea?
Sorry in advance if it seems like hijacking. But i believe we have the same problem.
i have a similar problem here and it’s keeping me from using news, wiki’s and forums.
Every time i try to adding anything to these features i get the error stated above.
If i use the sendmail setting, everything works as expected, except sending mail.
I have tried using google as SMTP and a host i’m using, both with the same error.
Running OpenProject 6.1.3 on Synology 5.2 with Docker.
My mistake was, that I vhanged the smtp settings in the file.
That didn’t have any effect. I had the change the settings in the web interface under system settings.