Patch #8905

Support identify project by email address

Added by dow in over 11 years ago. Updated about 6 years ago.

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


Category:Email receiving
Target version:-


Ident project by E-mail ADDRESS EXTENSION.


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.


Identify project by E-mail address.
  1. Send issue by mail to "email+project-id At".
  2. Make new issue to project-id by receiving "email At".

Patch (github)

Todo? (if followings are necessary)

  • Longest match (ex:find by last items following when put "email+project-id At")
    • project-id
    • email+project-id
    • id
    • email+project-id
  • Security
    • Dis-allow identify project by e-mail


Related issues

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


#1 Updated by Terence Mill over 11 years ago

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

#2 Updated by dow in over 11 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" to "redmine+project-identifier At".
I assumed about header:

Return-Path: <sender At test.spamcom>
X-Original-To: redmine+project-identifier At
Delivered-To: redmine+project-identifier At
To: redmine-support At

But, real is:

Return-Path: <sender At>
X-Original-To: redmine-support At
Delivered-To: redmine-support At
To: redmine-support At

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 about 6 years ago

  • Duplicates Patch #20732: MailHandler: Select project by subaddress ( added

#4 Updated by Go MAEDA about 6 years 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