Patch #8905
closedSupport identify project by email address
0%
Description
Ident project by E-mail ADDRESS EXTENSION.
Problem¶
If you have many projects AND receives email by redmine , you would make too many cron-jobs OR would require the mail body for writing project-id.
Solution¶
Identify project by E-mail address.- Send issue by mail to "email+project-id At test.com".
- Make new issue to project-id by receiving "email At test.com".
Patch (github)¶
https://github.com/indication/redmine/commit/8333599dc264c1c5735be161af4a0e0b9f3a543a
Todo? (if followings are necessary)¶
- Longest match (ex:find by last items following when put "email+project-id At test.com")
- project-id
- email+project-id
- id
- email+project-id
- Security
- Dis-allow identify project by e-mail
References¶
- Email address with . / Extended Email address (google)
- man page of postfix virtual.5 see ADDRESS EXTENSION
Related issues
Updated by Terence Mill over 13 years ago
That will need an dedicated email server only for redmine tickets handling, doesn't it?
Updated by dow in over 13 years ago
I gave a misleading that is sorry.
You can use existing mail server/mail account (eg. gmail).
In the source comment, I put a hint for making alias.
In the case that setup following:
Alias from "redmine-support At test.com" to "redmine+project-identifier At test.com".
I assumed about header:
Return-Path: <sender At test.spamcom> X-Original-To: redmine+project-identifier At test.com Delivered-To: redmine+project-identifier At test.com To: redmine-support At test.com
But, real is:
Return-Path: <sender At test.com> X-Original-To: redmine-support At test.com Delivered-To: redmine-support At test.com To: redmine-support At test.com
This patch watches the "Delivered-To" header.
When make alias to ADDRESS EXTENTION, it would not work.
To avoid this sutiation, you may solve that way(the source comment).
Note: more details
Updated by Go MAEDA almost 8 years ago
- Is duplicate of Patch #20732: MailHandler: Select project by subaddress (redmine+project@example.com) added
Updated by Go MAEDA almost 8 years ago
- Status changed from New to Closed
We can select project by subaddress in Redmine 3.2.0 and later (#20732).