Project

General

Profile

Actions

Defect #8450

closed

redmine:email:receive_imap fails silently when creating an account where login is too long

Added by Daniel Taylor almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
2011-05-27
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

When the unknown_user=create option is set, this task fails silently when the account it tries to create is too long (somewhat related to IssueID #2719). It would be nice if it was possible to extend the maximum length of the login in the administration interface, or allow you to specify the format of the login name created in the incoming email settings (i.e 'firstname.lastname' or everything before the '@',) but at the very least it should log when it fails because of this.


Related issues

Related to Redmine - Defect #2719: Increase username length limit from 30 to 60ClosedJean-Philippe Lang2010-09-21

Actions
Is duplicate of Redmine - Defect #7717: MailHandler user creation for unknown_user impossible due to diverging length-limits of login and email fieldsClosedJean-Philippe Lang2011-02-25

Actions
Actions #1

Updated by Jean-Philippe Lang almost 13 years ago

It does not exactly silently fail. You should see an error message in your log file (see: source:/trunk/app/models/mail_handler.rb@5815#L69).
Anyway, I agree that it should be handled in a cleaner way.

Actions #2

Updated by Jean-Philippe Lang over 12 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Same as #7717, fixed in r7952.

Actions

Also available in: Atom PDF