Open link in a new tab

Content

Expand project menu

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

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