Package: redmine Version: 3.0~20140825-8~deb8u4 Severity: normal Tags: upstream patch
Dear Maintainer, I was trying to download issues by a mail account using the following command: RAILS_ENV="production" rake -f /usr/share/redmine/Rakefile redmine:email:receive_imap no_notification=1 I set redmine to create a new user for every mail I received, but I do NOT want to send them nofications about issues, so I set no_notification=1 Even with this option set, all users are created with the option: user.mail_notification = 'only_my_events' while it shoud be: user.mail_notification = 'none' The option "no_notification=1" is ignored, and when I receive a mail, all users are created The reason is a bug in mail_handler.rb, for which I include a patch. Please propagate this to upstream since I saw that the bug is still present in release 3.3.1 (stretch), and in the main trunk of the project. This is the patch for the 3.0 (jessie) release: 64c64,65 < %w(allow_override unknown_user no_permission_check no_account_notice default_group).each do |option| --- > # larzeni 2017-11-17: added to the list the "no_notification" option that > was previously unmanaged > %w(allow_override unknown_user no_permission_check no_account_notice > default_group no_notification).each do |option| Regards, larzeni -- System Information: Debian Release: 8.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages redmine depends on: ii bundler 1.7.4-1 ii dbconfig-common 1.8.47+nmu3+deb8u1 ii debconf [debconf-2.0] 1.5.56 ii libjs-scriptaculous 1.9.0-2 ii redmine-pgsql 3.0~20140825-8~deb8u4 ii ruby 1:2.1.5+deb8u2 ii ruby-actionpack-action-caching 1.1.1-3 ii ruby-awesome-nested-set 3.0.0-1 ii ruby-coderay 1.1.0-2 ii ruby-i18n 0.6.9-2 ii ruby-jquery-rails 3.1.2-2 ii ruby-mime-types 1.25-2 ii ruby-net-ldap 0.8.0-1 ii ruby-openid 2.5.0debian-1 ii ruby-protected-attributes 1.0.8-2 ii ruby-rack 1.5.2-3+deb8u1 ii ruby-rack-openid 1.4.2-1 ii ruby-rails 2:4.1.8-1+deb8u4 ii ruby-rails-observers 0.1.1-1 ii ruby-redcarpet 3.1.2-1 ii ruby-request-store 1.1.0-1 ii ruby-rmagick 2.13.2-4+b1 ii ruby2.1 [ruby-interpreter] 2.1.5-2+deb8u3 Versions of packages redmine recommends: ii libfcgi-ruby1.9.1 0.9.2.1-1 ii ruby-fcgi [libfcgi-ruby1.9.1] 0.9.2.1-1+b3 ii ruby-passenger 4.0.53-1 Versions of packages redmine suggests: pn bzr <none> pn cvs <none> pn darcs <none> ii git 1:2.1.4-2.1+deb8u2 pn mercurial <none> pn subversion <none> -- debconf information excluded