プロジェクト

全般

プロフィール

Vote #67998

未完了

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

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
-
開始日:
2010/09/01
期日:
進捗率:

0%

予定工数:
category_id:
29
version_id:
0
issue_org_id:
6266
author_id:
19786
assigned_to_id:
0
comments:
6
status_id:
1
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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.


journals

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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Is any work solution for new user creation ?
--------------------------------------------------------------------------------
+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.
--------------------------------------------------------------------------------
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: [[RedmineReceivingEmails|Redmine receiving emails]]
--------------------------------------------------------------------------------
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: [[RedmineReceivingEmails|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.

--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリEmail receiving_29 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0