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. Issues with email notifications

Issues with email notifications

Added by Arwen Drew almost 4 years ago

So I have a new openproject container setup using docker compose. I went to admin portal and added the settings for emails to be sent. Sent a successful test, but was not able to get notifications sent to me. Going to URL/health_checks/all I get this: 

full  database: PASSED Schema version: 20210219092709 (0.017s)  default: PASSED Application is running (0.000s)  delayed_jobs_backed_up: PASSED Delayed Jobs with priority lower than '0' at reasonable level (0) (0.011s) (OPTIONAL)  delayed_jobs_never_ran: PASSED All previous jobs have completed within the past 5 minutes. (0.002s)  mail: FAILED ActionMailer::Base at localhost:25 is not accepting connections: 'Cannot assign requested address - connect(2) for "localhost" port 25' (0.012s)  puma: PASSED Backlog ok (0.000s) (OPTIONAL)

Reading some stuff, it sounds like I need to add something to the .yml file ? Not 100% sure. Also, do I need postfix installed?


Replies (4)

RE: Issues with email notifications - Added by David Bilbie almost 4 years ago

Hi Arwen hope you are well - May I ask you if you have solved this as I have exactly the same issue, I have installed it manually on two systems and now on docker. Every installation I cannot get email notifications other than the email test, new users etc. which work fine. The logs show our testing emails leaving from the system but nothing about work packages being updated etc. which is why I think something is simply missing as nothing occurs. I compared the logs between the three deploys and they are identical so I think the issue is with the version (OP 11) rather than method of deploy. Literally one of the worst issues I have had to look into for a long time. If there are errors, I can find/fix them... if no errors are logged I have zero idea what needs to be updated/changed etc!

RE: Issues with email notifications - Added by Arwen Drew almost 4 years ago

Hi David,

I have not found a fix for this yet. Have you attempted installing some email sender like postfix?

RE: Issues with email notifications - Added by David Bilbie almost 4 years ago

Hi - I haven't no Arwen, have you attempted? I emailed the community email address but all I got sent was the email setup guide which I have already done, along with the option to purchase the Enterprise with installation support!!

RE: Issues with email notifications - Added by David Bilbie almost 4 years ago

I was given this below, but I get a syntax error. Any thoughts?

In the docker installation, you can use our process control guide to spawn an interactive shell and run the following command:

ActionMailer::Base.mail(
from: "the openproject SMTP email",
to: "username@yourdomain.com",
subject: "Test email",
body: "This is a test"
).deliver_now

and from there, observe the console output to see the actual error that might occur.

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