Disable Account Activation Mail when unknown_user=create?

Added by Dan Scharon over 7 years ago

Hello there,

I configured a redmine alias on my MTA with rdm-mailhandler.rb and the option "unknown_user=create".

Whenever an unknown user sends an email to redmine, a new account for this unknown user gets created. So far so good.
But everytime the account is created, the new user also gets an account activation email immediately.

Is it possible in any way to deactivate this account activation notification email?

Replies (4)

RE: Disable Account Activation Mail when unknown_user=create? - Added by Jason Butz over 7 years ago

I agree, is there a way to disable this?

RE: Disable Account Activation Mail when unknown_user=create? - Added by Jason Butz over 7 years ago

I user version 1.1.0 an I commented out line 67 in /usr/share/redmine/app/models/mail_handler.rb and it did what I needed.

RE: Disable Account Activation Mail when unknown_user=create? - Added by Vincent B over 4 years ago

In Redmine 2.3.3.stable it is the line 104 :

#Mailer.account_information(@user, @user.password).deliver

(1-4/4)