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. Incoming Mails from non-user address

Incoming Mails from non-user address

Added by Morné Parsons over 7 years ago

Hi,

I have configured incoming emails to create work packages, but it only works for registered users.

I have gone through this link as well RedmineIncomingMails

i have tried the following:

sudo openproject run bundle exec rake redmine:email:receive_imap host='XXX' username='XXX' password='XXX' port=993 ssl=true allow_override=type,project=XXX,no_permission_check=1

and the following

sudo openproject run bundle exec rake redmine:email:receive_imap host='XXX' username='XXX' password='XXX' port=993 ssl=true allow_override=type,project=XXX,no_permission_check=1,unknown_user=accept

But still only process emails from existing users.

Please advise.


Replies (4)

RE: Incoming Mails from non-user address - Added by Sascha Rüger about 7 years ago

EDIT:
Sorry I misread your post, you already saw the redmine guide ;-)

Your error is: you put the unknown_user and no_permission_check into the comma separated list of allow_overrides, where they should be standalone parameters like this:

sudo openproject run bundle exec rake redmine:email:receive_imap host='XXX' username='XXX' password='XXX' port=993 ssl=true no_permission_check=1 unknown_user=accept allow_override=type,project=XXX


There are some other options available for the rake task, which are not (yet) mentioned in the openproject guide:

no_permission_check=1
unknown_user=create

I found, respectivly conducted them from the Redmine Guide https://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails
This Guide has even more options, that I would like to use and tried out, but didn’t work in openproject (such as default_group= and no_account_notice=1)

RE: Incoming Mails from non-user address - Added by Oliver Günther about 7 years ago

Hi Sascha,

thanks for mentioning these additional features. The incoming mail feature has diverged since the redmine fork in 2011, so its conceivable some parameters were added in Redmine in the meantime.

If you can, we would very much appreciate a pull request with changes to the incoming emails documentation to include your options (possibly with your use case as a description?)

https://github.com/opf/openproject/blob/dev/docs/configuration/incoming-emails.md

(which ends up on the website here: https://www.openproject.org/operations/configuration/incoming-emails/)

Best,
Oliver

RE: Incoming Mails from non-user address - Added by Sascha Rüger about 7 years ago

Hi Oliver, as you suggest I just commited a change of the docu on github.. but have one typo in it (missing a | ) and couldn’t find out how to edit my commit after it. Maybe you can correct it accordingly :-)

RE: Incoming Mails from non-user address - Added by Oliver Günther about 7 years ago

Many thanks again Sascha, the corrected guide is now in dev.

Best,
Oliver

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