Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. SMTP Settings localhost

SMTP Settings localhost

Added by Sebastian Werling about 8 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" emailexample.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)

RE: SMTP Settings localhost - Added by Sebastian Werling about 8 years ago

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?

RE: SMTP Settings localhost - Added by Stephan Heinrichsen about 8 years ago

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.

RE: SMTP Settings localhost - Added by Sebastian Werling about 8 years ago

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.

  • (1 - 3/3)
Loading...