Project

General

Profile

Actions

Feature #6266

open

Issues created by e-mail don't create an on-the-fly user

Added by Max Williams over 13 years ago. Updated about 13 years ago.

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

0%

Estimated time:
Resolution:

Description

With LDAP set up to create on-the-fly users, users that have not yet logged into Redmine are recorded as Anonymous when submitting an issue by e-mail.

It would be good to create a new user based on the e-mail instead, or at least record the e-mail address. Currently there is no contact information recorded unless the user included it in the body of their message.

Actions #1

Updated by Eric Davis over 13 years ago

  • Category set to Email receiving

I think I have created something like this for a client. They are using LDAP as their user database and we've changed the incoming mail handler to support creating users on the fly.

Actions #2

Updated by Max Williams over 13 years ago

Thanks Eric.

I had a look at the create_user_from_email method in the MailHandler. Seems like it should be possible to add the on-the-fly creation there as well. If I get anything working, I'll post some code here.

Actions #3

Updated by Alexey Marochkin about 13 years ago

Is any work solution for new user creation ?

Actions #4

Updated by Terence Mill about 13 years ago

+1, we really would need this for customers which are not registered on the redmine server, but easily sumbit bug reports. We would ar least need to have the email saved in a field in the ticket to feedback if the problem was solved. Better would be if the customer gets an user automatically with default configurable role.

Actions #5

Updated by Alexey Marochkin about 13 years ago

Terence Mill wrote:

+1, we really would need this for customers.

I'm not sure, but perhaps this function is efficient if not using LDAP. Try the command:

rake redmine: email: receive_pop3 RAILS_ENV = "production" host = "YourMailHost" port = 110 username = "MailUser" password = "MailPassword" unknown_user = create no_permission_check = 1

Read this: Redmine receiving emails

Actions #6

Updated by Terence Mill about 13 years ago

Alexey Marochkin wrote:

Terence Mill wrote:

+1, we really would need this for customers.

I'm not sure, but perhaps this function is efficient if not using LDAP. Try the command:

rake redmine: email: receive_pop3 RAILS_ENV = "production" host = "YourMailHost" port = 110 username = "MailUser" password = "MailPassword" unknown_user = create no_permission_check = 1

Read this: Redmine receiving emails

Tx. we use ldap, but "unknown" user shall be created as redmine local, to this is quite ok for us. I am sking me how the mandatory user fields useid, surname and name are filled from just the email adress ? There is no explanation how this works.

Actions

Also available in: Atom PDF