Patch #8905

Support identify project by email address

Added by dow in over 6 years ago. Updated 12 months ago.

Status:ClosedStart date:2011-07-26
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Email receiving
Target version:-

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.
  1. Send issue by mail to "email+project-id At test.com".
  2. 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


Related issues

Duplicates Redmine - Patch #20732: MailHandler: Select project by subaddress (redmine+projec... Closed

History

#1 Updated by Terence Mill over 6 years ago

That will need an dedicated email server only for redmine tickets handling, doesn't it?

#2 Updated by dow in over 6 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

#3 Updated by Go MAEDA 12 months ago

  • Duplicates Patch #20732: MailHandler: Select project by subaddress (redmine+project@example.com) added

#4 Updated by Go MAEDA 12 months ago

  • Status changed from New to Closed

We can select project by subaddress in Redmine 3.2.0 and later (#20732).

Also available in: Atom PDF