プロジェクト

全般

プロフィール

Vote #69515

完了

Creating users via email fails if user real name containes special chars

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
急いで
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
開始日:
2011/03/18
期日:
進捗率:

50%

予定工数:
category_id:
29
version_id:
36
issue_org_id:
7917
author_id:
30479
assigned_to_id:
0
comments:
10
status_id:
5
tracker_id:
1
plus1:
1
affected_version:
closed_on:
affected_version_id:
31
ステータス-->[Closed]

説明

If importing issues using the following command

/usr/bin/rake -f /opt/redmine/Rakefile redmine:email:receive_pop3 RAILS_ENV="production" host=xxxxxx username=xxxxxx password=xxxxxx project=xxxxxx allow_override=project,tracker,category,priority unknown_user=create no_permission_check=1 tracker=support

In some cases mails will be left on the server with the message:

--> Message  NOT processed and left on the server

When sending a mail with a MailAutherName containing danish special chars "æøå" the mail will be ignored.

It's not a problem creating the user in the system using æøå only the auto creation that fails.

Ruby version: 1.8.7 (i486-linux)
Rails version: 2.3.5
Redmine version: 1.1.2.stable.5164 (MySQL)
Mysql version: 5.1.41-3ubuntu12.9


journals

This is an issue for me as well. Living Sweden we have the letters ÅÄÖ åäö in the alphabet.
Now when using unknown_user=create the mails from the imap server is marked as read but is not delivered to Redmine. If I set the rake to use unknown_user=accept the mails will go through but then of course the user will be set to anonymous and won´t get an account and therefor not any follow ups on the issues.

Cheers!

//Peter Brauner
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Hi!,

I'm having the same problem with latin caracters. I think that it can be treated as an important feature.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Anyone know of a workaround for this?, this is quite game breaking for us unfortunately.
--------------------------------------------------------------------------------

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

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

--------------------------------------------------------------------------------
Poul Thomsen wrote:
> Anyone know of a workaround for this?, this is quite game breaking for us unfortunately.

I just made a Python class that connects to the IMAP server and then creates a user for each ignored email (those marked as "Seen"). I currently use it in my cron.

https://github.com/brunoqc/create-redmine-users-from-imap
--------------------------------------------------------------------------------
This should be fixed by r7952. There are now defaults for login/firstname/lastname when those extracted from the email are not considered valid.

If you still have problem with user creation after r7952, please attach a raw email so I can do some testing.
--------------------------------------------------------------------------------


related_issues

relates,Closed,8157,Redmine do not send notification emails if a recipients email address is not valid
relates,New,6088,eMail in uncommon formats considered invalid
relates,Closed,8733,Sending email fails when one of members has illegal characters in email address
duplicates,Closed,9469,redmine:email:receive_imap rejects emails from people with accentuated characters in their name

Admin Redmine さんが3年以上前に更新

  • カテゴリEmail receiving_29 にセット
  • 対象バージョン1.3.0_36 にセット

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

いいね!0
いいね!0