snnrk / redmine_mailwrapper

Plugin for Redmine to rewrite mail according to rules for each projects.
12 stars 1 forks source link

X-Header rewrite #4

Closed jhit closed 11 years ago

jhit commented 11 years ago

Hello. Not a issue but a question at best a feature request.

Do you think it would be possible with little effort to extend this program to rewrite the Redmine-X headers?

What I need is to match new issues to projects. Lets assume customer1@tld.com is assigned to project1 and he sends me a new request to redmine. Now redmine_maiwrapper could read that mail and apply my filter if email = customer1@tld.com -> set X-Header: X-Redmine-Project: project1 this should enable Redmine to correctly assigne the new issue to the proper project, right?

Do you think this can be done on basis of your existing code?

Regards, Jürgen

snnrk commented 11 years ago

Hi,

Thanks for comment. I understand that like following:

Did you mean the above? If so, I think that is difficult because redmine_mailwrapper only rewrites the contents of outbound-mail.

Regards,

jhit commented 11 years ago

OK. I thought the plugin could rewrite incoming mail. In this case a new plugin would be required. Thank you for answering this.