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. Automatic creation of tasks from bash using mailx, not fully working

Automatic creation of tasks from bash using mailx, not fully working

Added by Илья Фатеев over 3 years ago

Hello everyone!
Found some problem with automatic task creation.

We use the script /usr/bin/openproject run bundle exec rake --trace redmine:email ...... for processing e-mails in the mailbox.

If you use the linux console client mail, email to send e-mails, the task is created, but it is not possible to specify an observer.
went over all combinations of options.

here is an example command:

mail -v  -c user-1@example.com -r user2@example.com -s 'Error' openproject@example.com 

or

mail -v  -b user-1@example.com -r user2@example.com -s 'Error' openproject@example.com

or

mail -v  -b user-1@example.com -r user2@example.com -s 'Error' openproject@example.com
-b address
             Send blind carbon copies to list.  List should be a comma-separated list of names.
-c address
             Send carbon copies to list of users.
-r address
             Sets the From address.

Tell me what could be wrong?

Best regards
Ilia Fateev


Loading...