Patch #11500

Add --unknown-user=register to create inactive users

Added by Alex Shulgin about 10 years ago. Updated over 9 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Email receiving
Target version:-


This patch adds a new value for the --unknown-user option of the mail handler script.

When given, it will behave similar to --unknown-user=create, but the user account will not be automatically activated. Depending on the site configuration, either token activation or manual activation by administrator will be required. The purpose is to help keep spam level low on public projects.

The change is a bit involved as it required moving the registration logic from accounts controller to the User model.

0021-Add-unknow-user-register-option-support-to-mail-hand.patch Magnifier (7.37 KB) Alex Shulgin, 2012-07-24 14:54

Related issues

Related to Redmine - Patch #10178: Allow silent user account creation for issues submitted b... Closed


#1 Updated by Gregory Engels over 9 years ago

+1 (please include this patch in the main release!)

#2 Updated by Arnis Juraga over 9 years ago


#3 Updated by Arnis Juraga over 9 years ago

Consider using this: #10178
Users without notification e-mail will not be able to login anyway. They will be activated, visible although.

Also available in: Atom PDF