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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Amazon SES SMTP

Amazon SES SMTP

Added by Joseph Bassett almost 10 years ago

I’m trying to get the SMTP to work. I am using Amazon’s SES service. I installed OpenProject-CE on a new server today using the packaged version (Because the manual version just barfs like crazy).

Nothing is happening, openproject-ce run check …says it worked but I did not get an email.

Can anyone help me here? More insight into logging? This should be a very standard usage in 2015. Thank you.

Here is my configuration.yml file (I ran service openproject-ce restart after editing it):

default:
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: email-smtp.us-east-1.amazonaws.com #Yours might be different
port: 587
domain: CCCCC.com #This needs to be an verifed domain or the "Emission email addre$
authentication: :login
user_name: XXXXXXXXXXXXXXXXXXX
password: XXXXXXXXXXXXXXXXX

rails_cache_store: :memcache

ALSO, to do the above I had to delete all this stuff:

default:
rails_cache_store: <%= ENV.fetch(‘RAILS_CACHE_STORE’) { :memcache }.to_sym %>
session_store: <%= ENV.fetch(‘SESSION_STORE’) { :cache_store }.to_sym %>
email_delivery_method: <%= ENV.fetch(‘EMAIL_DELIVERY_METHOD’) { :sendmail } %>
smtp_address: <%= ENV[‘SMTP_HOST’] %>
smtp_port: <%= ENV.fetch(‘SMTP_PORT’) { 25 }.to_i %>
smtp_domain: <%= ENV.fetch(‘SMTP_DOMAIN’) { ENV[‘HOSTNAME’] } %>
smtp_authentication: <%= ENV.fetch(‘SMTP_AUTHENTICATION’) { :login }.to_sym %>
smtp_user_name: <%= ENV[‘SMTP_USERNAME’] %>
smtp_password: <%= ENV[‘SMTP_PASSWORD’] %>
attachments_storage_path: <%= ENV.fetch(‘ATTACHMENTS_STORAGE_PATH’) { “/var/db/_APP_NAME_/files” } %>

….Do you guys have real documentation or do I just have to constantly comb through a forum???


Replies (1)

RE: Amazon SES SMTP - Added by Karsten Gallinowski almost 10 years ago

Hi Joseph,

I suggest you use the following configuration:

SMTP_AUTHENTICAITON=plain
EMAIL_DELIVERY_METHOD=smtp
SMTP_ENABLE_STARTTLS_AUTO=true
SMTP_PORT=587
SMTP_ADDRESS=email-smtp.us-east-1.amazonaws.com
SMTP_USER_NAME=<your-aws-access-key>
SMTP_PASSWORD=<your-aws-secret>
SMTP_DOMAIN=<your-smtp-domain>

Please be aware that if you editing the configuration.yml file directly you have to update this file after every update of the OpenProject-CE package. So I encourage you to leave the default configuration.yml as is and set environment variables instead. The OpenProject-CE app comes with a command line tool for that.

Please read the chapter OpenProject command line tool to get more information on that.

As a short example openproject-ce config:set SMTP_ADDRESS=email-smtp.us-east-1.amazonaws.com will set the SMTP_ADDRESS env variable. Please make sure to restart the OpenProject app to apply the settings you changed (service openproject-ce restart).

If you have any further questions please let me know.

Cheers,
Karsten

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