Project

General

Profile

Actions

Feature #11212

open

save sender email to issue when mail import and unknown_user=accept no_permission_check=1

Added by Terence Mill almost 12 years ago. Updated about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

We need to see the sender of the email the issue is created on mail import, so we can establish a support line via redmine.
At the moment we only see anonymous for issue author and therefore can't "call" em back. We don't know where the issue came from.

Why not show the sender email, without having a "full" user account?
We don't want to auto create users because all of them will immidiately get mails on any action on their tickets. This is related to the fact we can't configure default settings - see #11211
Furthermore auto creation of user account for support line for "outside" customers will not fit logically toegether when using ldap auth for "internal" project members - i know it works technically, but it feels pitty.

I think saving sender mail to issue body will be also an "option".


Files

add_copy_sender_to_ticket_option.diff (660 Bytes) add_copy_sender_to_ticket_option.diff patch to add an option for this Jan S, 2014-03-26 23:55

Related issues

Related to Redmine - Feature #11211: configure default settings for users getting created automatically via email importNew

Actions
Related to Redmine - Feature #21158: Send E-Mail to Redmine: Copy E-Mail Header into Ticket NoteNew

Actions
Has duplicate Redmine - Feature #19545: unknown_user=accept - put email address of sender in descriptionClosed

Actions
Has duplicate Redmine - Feature #10861: Processing incoming e-mails from anonymus users Closed

Actions
Actions #1

Updated by Terence Mill almost 12 years ago

The problem is that if i set default notification to "Only to things I am assigned to" the auto created user still gets mail for the issue is created for the mail he send. That baffles our customers, because they don't even know of redmine being used and so don't shall to.

Actions #2

Updated by Terence Mill almost 12 years ago

An moreover importnat the user even get a mail if he is created with user an password, what is even worse if we only want ldap for authentification

Actions #3

Updated by Maciej Maczynski over 11 years ago

I had the same problem, and I patched Redmine as follows:

File: redmine/app/models/mail_handler.rb

In the method receive_issue, you will find a line like that:

issue.description = cleaned_up_text_body

After this line, I added the following:

sender_addr = email.from.to_a.first.to_s.strip
issue.description = "Reported by e-mail by [#{sender_addr}]:\n" + issue.description;

This puts sender address at the front of issue description text.

Yes, this is lousy work-around.
The solution, I think, would be a mailer-task option to store sender address together with the issue.

Actions #4

Updated by Toshi MARUYAMA over 11 years ago

  • Category set to Email receiving
Actions #5

Updated by Jan S about 10 years ago

I've added a little patch that adds a "copy_sender_to_ticket" option to the mail handling. A more advanced patch with further configuration options (e.g. copy mailheaders) would still be interesting but right now this works for me and I wouldn't mind if this would be included right away as one can always further extend this as time goes by.

Actions #6

Updated by Go MAEDA about 9 years ago

  • Related to Feature #19545: unknown_user=accept - put email address of sender in description added
Actions #7

Updated by Go MAEDA about 9 years ago

  • Related to deleted (Feature #19545: unknown_user=accept - put email address of sender in description)
Actions #8

Updated by Go MAEDA about 9 years ago

  • Has duplicate Feature #19545: unknown_user=accept - put email address of sender in description added
Actions #9

Updated by Toshi MARUYAMA almost 9 years ago

  • Related to Feature #11211: configure default settings for users getting created automatically via email import added
Actions #10

Updated by Go MAEDA about 5 years ago

  • Has duplicate Feature #10861: Processing incoming e-mails from anonymus users added
Actions #11

Updated by Go MAEDA about 5 years ago

  • Related to Feature #21158: Send E-Mail to Redmine: Copy E-Mail Header into Ticket Note added
Actions

Also available in: Atom PDF