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 changes

SMTP changes

Added by Dudley Vanquatem over 10 years ago

Hey,

I have new to openproject and I have installed this application on an Ubuntu 14.04 LTS.

I have installed openproject using the packaged installation.
I did the settings with openproject configure but the SMTP doesn’t work.

Where can I find the setting to adjust only the SMTP settings?

All the rest seems to work.

Kind regards
Dudley


Replies (6)

RE: SMTP changes - Added by Dudley Vanquatem over 10 years ago

Hey,

I found they were under the /etc/openproject/conf.d but my user didn’t have rights to enter it.

Now I have changed the settings but I still get a “An error occurred while sending mail (SMTP-AUTH requested but missing user name)” message
when I try to send a testmail.

This is the config:

export EMAIL_DELIVERY_METHOD=“smtp”
export ADMIN_EMAIL=“myuser@ourdomain”
export SMTP_HOST=“IP of our lotus domino”
export SMTP_PORT=“25”
export SMTP_DOMAIN=“ourdomain”

Kind regards
Dudley

RE: SMTP changes - Added by Dudley Vanquatem over 10 years ago

So I got it working with SMTP.

Now my webpage mentions that a testmail was succesfully send but I don’t see the message appear in my mailbox.

I also don’t see any trace in our mailserver about the mail.
Is there something else that need to be set-up to receive the mail or is it delayed somewhere?

Kind regards
Dudley

RE: SMTP changes - Added by Sven A over 10 years ago

Having the same problem on Debian 7.
SMTP without authentification is configured an no errors are produced.

Yet no mail reaches our mail server (other applications with the same smtp configs are working without any problems whatsoever).

The only clue at hand is the following entry in the production.log

Started GET “/admin/test_email” for xxx.xxx.xxx.xxx at 2014-11-20 13:29:11 +0100
Processing by AdminController#test_email as HTML
Rendered user_mailer/test_mail.html.erb within layouts/user_mailer (0.8ms)
Rendered user_mailer/test_mail.text.erb within layouts/user_mailer (0.5ms)

Sent mail to (2.2ms)

There is no recipient address, only a blank.

Thanks in advance for every suggestion on this problem.

RE: SMTP changes - Added by Dudley Vanquatem over 10 years ago

I have started over with a manual installation on a fresh Ubuntu installation.

There is way able to configure the config.yml correctly.

In the packaged installation I still have no clue on how to config smtp.

RE: SMTP changes - Added by Andrew Moore over 10 years ago

I did a packaged installation on CentOS 6.6

Used reconfiguration wizard to setup SMTP. There was no option for no authentication.

When sending test emails i get “An error occurred while sending mail (SMTP-AUTH requested but missing user name)” :/

Here is my /opt/openproject/config/configuration.yml

default:
  email_delivery_method: "smtp"
  smtp_address: "mailout.myco.com"
  smtp_port: 25

production:
  email_delivery_method: "smtp"
  smtp_address: "mailout.myco.com"
  smtp_port: 25

and /etc/openproject/conf.d/smtp

export EMAIL_DELIVERY_METHOD="smtp"
export ADMIN_EMAIL="me@myco.com"
export SMTP_HOST="mailout.myco.com"
export SMTP_PORT="25"
export SMTP_URL="smtp://:@mailout.myco.com:25/"

not clear as to which one is actually being used.

RE: SMTP changes - Added by Tim Tielens over 10 years ago

These are my settings, these are the lines in the end of the file.

Also is your mailserver allowing smtp without authentication ?

# default configuration options for all environments
default:
  email_delivery_method: :smtp
  smtp_address: "IP ADDRESS OF MAILSERVER"
  smtp_port: 25
  session_store: :cookie_store

development:
  email_delivery_method: :letter_opener

test:
  email_delivery_method: :test

production:
  session_store: :cache_store
  • (1 - 6/6)
Loading...