Bug 13379

Summary: Do not send bugmails to the bugs@ ML when only the CC list changes
Product: Infrastructure Reporter: Manuel Hiebel <manuel.mageia>
Component: BugzillaAssignee: Frédéric "LpSolit" Buclin <LpSolit>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: dmorganec, doktor5000, marja11, sysadmin-bugs
Version: unspecified   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=365303
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: full source of ml mail with only change in CC field

Description Manuel Hiebel 2014-05-14 10:53:16 CEST
Description of problem:

Hello please disable email when "The CC field changes" from mailing.

ie for example qa-bugs, bugs there is certainly more.


Because, we get spamed if someone remove him from all the bugs he is present.

Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2014-05-14 10:53:40 CEST

CC: (none) => dmorganec

Comment 1 Manuel Hiebel 2014-06-12 01:18:07 CEST
ping ?

CC: atelier-bugs => (none)

Comment 2 Frédéric "LpSolit" Buclin 2016-02-21 23:09:50 CET
I checked atelier-bugs, bugs, doc-bugs and qa-bugs, and none of them had the "CC field changes" checkboxes checked except for the Reporter role (which doesn't matter as you never file bugs with these accounts). So either someone fixed this bug already and forgot to close it as RESOLVED FIXED, or it has never been an issue and something else was triggering bugmails. If you still get such emails, please attach them to this bug so that I can check their headers.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Comment 3 Marja Van Waes 2016-02-22 19:21:42 CET
Created attachment 7484 [details]
full source of ml mail with only change in CC field

I just got one from bug ml:

Funny enough, it doesn't show in the archives (yet).

Received: from bugs.mageia.org (localhost [127.0.0.1])
	by alamut.mageia.org (Postfix) with ESMTP id D49DD41B21
	for <bugs@ml.mageia.org>; Mon, 22 Feb 2016 19:04:56 +0100 (CET)
From: "Olav Vitters" <bugzilla-daemon@mageia.org>
To: bugs@ml.mageia.org
Date: Mon, 22 Feb 2016 18:04:56 +0000

........

List-Id: <bugs.ml.mageia.org>

........

https://bugs.mageia.org/show_bug.cgi?id=17461

Olav Vitters <(his e-mail address)> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|(his e-mail address)        |

-- 
You are receiving this mail because:
You are watching all bug changes.

CC: (none) => marja11

Marja Van Waes 2016-02-22 19:21:55 CET

Status: RESOLVED => REOPENED
Resolution: WORKSFORME => (none)

Florian Hubold 2016-02-22 19:26:53 CET

CC: (none) => doktor5000

Comment 4 Rémi Verschelde 2016-02-23 09:55:10 CET
I confirm that I received it too.
Comment 5 Frédéric "LpSolit" Buclin 2017-04-15 14:58:46 CEST
Is this bug still present since the upgrade to 5.0.3?
Comment 6 Manuel Hiebel 2017-04-15 16:35:17 CEST
looks so after https://bugs.mageia.org/show_activity.cgi?id=9337
Comment 7 Frédéric "LpSolit" Buclin 2017-04-19 17:58:08 CEST
The reason bugs@ is getting bugmails when the CC list changes is because this account is a global watcher, which means it gets notifications for everything, by design. A RFE has already been filed upstream 10 years ago to be able to restrict the kind of notifications global watchers get, but this request never got any traction.

I will have to implement this feature from the Mageia extension itself.

Summary: remove bugzilla ml, from email send when "The CC field changes" => Do not send bugmails to the bugs@ ML when only the CC list changes
Assignee: sysadmin-bugs => LpSolit
Status: REOPENED => ASSIGNED
See Also: (none) => https://bugzilla.mozilla.org/show_bug.cgi?id=365303

Comment 8 Mageia Robot 2017-04-19 19:31:30 CEST
commit cf3fa62685f06f0325ef6cd0a700c278deba029f
Author: Frédéric Buclin <LpSolit@...>
Date:   Wed Apr 19 19:30:03 2017 +0200

    Do not email global watchers if the single change is about the CC list (mga#13379)
---
 Commit Link:
   http://gitweb.mageia.org/web/bugs/commit/?id=cf3fa62685f06f0325ef6cd0a700c278deba029f
Comment 9 Frédéric "LpSolit" Buclin 2017-04-19 19:33:58 CEST
Fixed.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED