GNOME Bugzilla – Bug 744266
Not receiving bugzilla.gnome.org emails for User Watching entries with .bugs domain suffix
Last modified: 2015-02-10 18:38:22 UTC
I seem to not get the new bugreports for bugzilla.gnome.org, though I am watching that product. I am getting different email. Not sure what's happening.
What is "different email"? Same here though. The "bugzilla-maint at gnome dot bugs" account is listed under "User Watching" on https://bugzilla.gnome.org/userprefs.cgi?tab=email but I don't get that mail. Ironically, the account bugzilla-maint at gnome dot bugs is not even marked as "Bugmail Disabled" or disabled (but it is marked as "ismailinglist"). Likely unrelated, as it's not listing any recently created bug IDs: https://bugzilla.gnome.org/sanitycheck.cgi had a huge mail notification backlog yesterday already (under "Checking for unsent mail") that I could not flush via the web UI (timeout), but looking at 10 random tickets their last changes were all randomly between 2011 - 2015.
I got other kinds of bugmail, e.g. for bug 744252: > You are receiving this mail because: > You are watching the reporter of the bug. Maybe watching assignee/QA is broken?
Testing.
Interestingly enough, it doesn't show @gnome.bugs at all in either included or excluded.
.
Removing the "ismailinglist" group membership for that account didn't change anything either, obviously.
Found it. There's code to not email @gnome.bugs. Logic of upstream changed (it seems) that it only adds watchers _after_ the email addresses have been filtered. Urgh! I cannot take out @gnome.bugs, because then we get bounces. Need to think about proper solution.
...while I was wasting time with SELECT profiles.login_name FROM profiles JOIN watch WHERE watched = 106963 AND watch.watcher = profiles.userid; > I cannot take out @gnome.bugs, because then we get bounces. Could you elaborate? Isn't that exactly what the "Bugmail Disabled:" checkbox is meant for?
I've used SQL to disable the bugmail for existing @gnome.bugs accounts. However, we must have code to automatically tick then we create a new one. I've removed the problematic code in https://git.gnome.org/browse/bugzilla-gnome-org-customizations/commit/?id=dfc3581ccf5f7a708ae9e0a9a4faf1088af989e4. I don't know how to "cherry-pick" that commit to production.
So I guess you ran SELECT login_name FROM profiles WHERE disable_mail = 0 AND login_name LIKE "%@gnome.bugs%"; ? That was also my idea because I'm pretty sure that User Watching the account X still delivers mail to watchers when bugmail is disabled for account X.
There's definitely something strange with the emails. I watch the gvfs product, and today I got a couple of emails for comments but I didn't get emails for reviews, and I didn't get an email for a new bug...
Ross: If that problem still happens after this ticket has been fixed, specific bug IDs (plus the reason in the mail notific. at the bottom) will be welcome.
Fixed it!