Top Menu

Jump to content
Home
    • Projects
    • Work packages
    • 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
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Professional 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?
      Create a new account

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
  • Roadmap
  • Work packages
  • Calendars
  • Team planners
  • Boards
  • Forums
  • Wiki
    • Table of contents
      • Expanded. Click to collapseCollapsed. Click to showDeveloper
        • Hierarchy leafAccessibility Checklist
        • Hierarchy leafCode Review Guidelines
        • Expanded. Click to collapseCollapsed. Click to showContribution
          • Hierarchy leafGit Workflow
          • Hierarchy leafTranslations
        • Expanded. Click to collapseCollapsed. Click to showDeveloping Plugins
          • Hierarchy leafDeveloping an OmniAuth Authentication Plugin
        • Hierarchy leafRelease Process
        • Hierarchy leafReport a bug
        • Hierarchy leafSecurity
        • Hierarchy leafSetting up an OpenLDAP server for testing
        • Hierarchy leafTheme Features
      • Hierarchy leafDownload
      • Expanded. Click to collapseCollapsed. Click to showFeature tour
        • Hierarchy leafRelease Notes OpenProject 30
        • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 30 - Overview
          • Hierarchy leafGlossary
          • Hierarchy leafRelease Notes - Accessibility
          • Hierarchy leafRelease Notes - Accessibility changes
          • Hierarchy leafRelease Notes - Add work package queries as menu items to sidebar
          • Hierarchy leafRelease Notes - Copy projects based on Templates
          • Hierarchy leafRelease Notes - Design changes
          • Hierarchy leafRelease Notes - Fixed Bugs
          • Hierarchy leafRelease Notes - Keyboard Shortcuts
          • Hierarchy leafRelease Notes - Project settings
          • Hierarchy leafRelease Notes - Ruby&Rails Update
          • Hierarchy leafRelease Notes - Security
          • Hierarchy leafRelease Notes - Timelines
          • Hierarchy leafRelease Notes - Work packages
      • Hierarchy leafHowto create animated gifs
      • Hierarchy leafMigration Squashing
      • Hierarchy leafMod security
      • Hierarchy leafNew work package page
      • Hierarchy leafOP3 to OP4 Debian upgrade
      • Hierarchy leafOP4 Ubuntu1404 Stable with MySQL in production
      • Hierarchy leafOpenProject 40 Development Setup
      • Expanded. Click to collapseCollapsed. Click to showOpenProject Foundation
        • Hierarchy leafBoards
        • Hierarchy leafMembers
        • Hierarchy leafOPF-Meetings
        • Hierarchy leafStatutes
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes
        • Hierarchy leafOpenProject released on Bitnami
      • Expanded. Click to collapseCollapsed. Click to showRelease Notes OpenProject 40 - Overview
        • Hierarchy leafRelease Notes OpenProject 40 - Accessibility improvements
        • Hierarchy leafRelease Notes OpenProject 40 - Column header functions in work package table
        • Hierarchy leafRelease Notes OpenProject 40 - Improved Design
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated query title on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - Integrated toolbar on work package page
        • Hierarchy leafRelease Notes OpenProject 40 - OmniAuth integration for OpenProject
        • Hierarchy leafRelease Notes OpenProject 40 - Work package details pane
      • Expanded. Click to collapseCollapsed. Click to showSecurity and privacy
        • Hierarchy leafFAQ
      • Expanded. Click to collapseCollapsed. Click to showSupport
        • Expanded. Click to collapseCollapsed. Click to showDownload and Installation
          • Hierarchy leafInstallation MacOS
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 3 0
            • Hierarchy leafDebian Stable with MySQL in production
            • Hierarchy leafInstallation Ubuntu
            • Hierarchy leafInstallation Windows
            • Hierarchy leafInstallation on Centos 65 x64 with Apache and PostgreSQL 93
          • Expanded. Click to collapseCollapsed. Click to showInstallation OpenProject 40
            • Hierarchy leafOP4 Debian Stable with MySQL in production
          • Expanded. Click to collapseCollapsed. Click to showMigration paths
            • Hierarchy leafFrom Chilliproject to OpenProject
            • Hierarchy leafMigration 15 to 30
            • Hierarchy leafMigration 24 to 30
            • Hierarchy leafMigration Redmine 2x › OpenProject 30
            • Hierarchy leafOpenProject 3 Migration
          • Hierarchy leafOpenProject 40
        • Expanded. Click to collapseCollapsed. Click to showNews
          • Hierarchy leafNew OpenProject Translations Plugin
          • Hierarchy leafNew Plugin on OpenProjectorg Local Avatars
          • Hierarchy leafNew design for OpenProject
          • Hierarchy leafNews Accessibility workshop for OpenProject
          • Hierarchy leafNews Glossary for OpenProject
          • Hierarchy leafNews Heartbleed fixed
          • Hierarchy leafNews Icon Fonts
          • Hierarchy leafNews OpenProject 30 Release
          • Hierarchy leafNews Release GitHub Integration Plugin
          • Hierarchy leafNews Success Story Deutsche Telekom
          • Hierarchy leafNews Timelines
          • Hierarchy leafOpenProject 3013 released
          • Hierarchy leafOpenProject 3017 released
          • Hierarchy leafOpenProject 40 released
          • Hierarchy leafOpenProject 40 will be coming soon
          • Hierarchy leafOpenProject 405 released
          • Hierarchy leafOpenProject and pkgrio
          • Hierarchy leafOpenProject news moved to a new blog
          • Hierarchy leafOpenProjectBitnami
          • Hierarchy leafPackager version with plugins released ("Community edition")
          • Hierarchy leafRegistration OpenProject-Foundation
          • Hierarchy leafRelease OpenProject AuthPlugins
          • Hierarchy leafUpdates on OpenProject
          • Hierarchy leafWe need your feedback for the the new fullscreen view for work packages
        • Hierarchy leafOpenProject Plug-Ins
      • Hierarchy leafWiki
You are here:
  • Forums
  • General discussion

Content

openproject, probleme in link generator for confirmation with email

Added by SLIMANE AMIAR almost 5 years ago

i am using openproject on myserver on port 7000, but when i send an email invitation for a user, it generates the activation url without the port my server is listening on for openproject,

https://myserver/account/activate?token=..

instead of

https://myserver:7000/account/activate?token=..

the link is generated in app/mailers/user_mailer.rb using url_for function,

, thank you


Replies (17)

RE: openproject, probleme in link generator for confirmation with email - Added by SLIMANE AMIAR almost 5 years ago

i found the solution here [[https://stackoverflow.com/questions/48808686/openproject-probleme-in-link-generator-for-confirmation-with-email/48809005#48809005]]

RE: openproject, probleme in link generator for confirmation with email - Added by Oliver Günther almost 5 years ago

Please also check your Setting.host_name setting (it can be configured through the UI at Administration > System settings > General).

That value is used for generating links when the request env is not available.

Best,
Oliver

RE: openproject, probleme in link generator for confirmation with email - Added by victor del castillo almost 5 years ago

Hi SLIMANE AMIAR, i hve problems with email settings, could you help me please? sorry for change your topic :(

RE: openproject, probleme in link generator for confirmation with email - Added by SLIMANE AMIAR almost 5 years ago

Hi , yes tell us what is the problem , and we will try to find the solution

RE: openproject, probleme in link generator for confirmation with email - Added by victor del castillo almost 5 years ago

i have installed openproject, but when i write parameters to send email, it doesn’t work, it shows me an error 500 5.5.3, i want to know if it’s necessary install postfix or other? i have an external smtp server, i hope you can help me thanks.

RE: openproject, probleme in link generator for confirmation with email - Added by SLIMANE AMIAR almost 5 years ago

Hi, try to test manually if your SMTP server works if its your own server:

look at this link how to check SMTP server [[https://stackoverflow.com/questions/11988454/how-to-check-if-smtp-is-working-from-commandline-linux]]

, and look the configuration file exemple in /opt/openproject/config/configuration.yml.example , then checks the right configuration to put in configuration.yml file, for example you wil find the configuration to use for gmail as follow :

  1. SMTP server at using TLS (GMail)
    #
  2. This requires some additional configuration. See the article at:
  3. http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/
    #
  4. production:
  5. email_delivery_method: “smtp”
  6. smtp_enable_starttls_auto: true
  7. smtp_address: “smtp.gmail.com”
  8. smtp_port: 587
  9. smtp_domain: “smtp.gmail.com” # ‘your.domain.com’ for GoogleApps
  10. smtp_authentication: :plain
  11. smtp_user_name: “your_email@gmail.com”
  12. smtp_password: “your_password”

RE: openproject, probleme in link generator for confirmation with email - Added by victor del castillo almost 5 years ago

i opened both files and i got in configuration.yml.example - file uploaded “example.png” and configuration.yml - file uploaded "ori.png
do i have to make some modifications? sorry but i’m a little confused i hope you can help me.

About my server smtp is ok, i have connection and everything is working there (i have other projects sending email by this server), the error is
“An error occurred while sending mail (503 5.5.1 Error: authentication not enabled )”

thanks for your time and patiente.

RE: openproject, probleme in link generator for confirmation with email - Added by SLIMANE AMIAR almost 5 years ago

overide configuration.yml

adress, port , domain, authentication, username, password,

by your smpt server information instead of using those in Environement variable

or execute “openproject reconfigure” command in your terminal, skip all steps , but SMTP/auto install, choose smtp then enter the required information

RE: openproject, probleme in link generator for confirmation with email - Added by victor del castillo almost 5 years ago

i override values but i have the same problem, about to write parameters through openproject reconfigure, i did it but error still appears, maybe you could send me and image about your configurations.yml file or others? did you do it with an external smtp or gmail sendmail?
by other way did you installed another software? like postfix, phpmailer or other?

RE: openproject, probleme in link generator for confirmation with email - Added by SLIMANE AMIAR almost 5 years ago

i am using my own smtp server , in the same server of openproject , yes i have installed postfix , following this tutorial [[https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-16-04]]

RE: openproject, probleme in link generator for confirmation with email - Added by victor del castillo almost 5 years ago

i don’t have problem with the connectivy of my smtp server (i tested it).

i have a doubt, if you have your smtp server in same server where is your openproject, what is postfix for? what does postfix make? because in case you hve installed postfix, that means i’ll have to install it too.
someone told me that i don’t need it because i have my smtp and if i installed postfix i’ll make send email from my virtual machine where is my openproject, so i’m confused.

RE: openproject, probleme in link generator for confirmation with email - Added by SLIMANE AMIAR almost 5 years ago

yes you don’t need in the case you use your external smtp serveur,

this should work, go to system settings->email notifications :


set Emission email address
change Email delivery method to SMTP

RE: openproject, probleme in link generator for confirmation with email - Added by victor del castillo almost 5 years ago

i’ve made all of that, but doesn’t work :(
hell i’m so frustated

RE: openproject, probleme in link generator for confirmation with email - Added by SLIMANE AMIAR almost 5 years ago

then use sendmail instead of direct SMTP , then use sendmailconfig commande to configure sendmail for your external SMTP server

RE: openproject, probleme in link generator for confirmation with email - Added by victor del castillo almost 5 years ago

i didn’t know i could do that, thanks
i’ll investigate about that. thanks

RE: openproject, probleme in link generator for confirmation with email - Added by victor del castillo almost 5 years ago

do you have a manual please? about how to configure postifix, thanks.

RE: openproject, probleme in link generator for confirmation with email - Added by SLIMANE AMIAR almost 5 years ago

i think , you dont need to use postfix for that, but if you would like to install it , and do basic configuration, see the following tutorial, [[https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-16-04]],
to configure send mail for using external server look at this tutorial [[https://linuxconfig.org/configuring-gmail-as-sendmail-email-relay]]

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