Bug 412681 - RHN sends email regardless of preference
RHN sends email regardless of preference
Status: CLOSED CURRENTRELEASE
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Web Site (Show other bugs)
rhn500
All Linux
high Severity high
: ---
: ---
Assigned To: Sebastian Skracic
Bill C. Riemers
US=16340
:
Depends On:
Blocks: 433460
  Show dependency treegraph
 
Reported: 2007-12-05 14:45 EST by Brad Hinson
Modified: 2008-04-07 16:00 EDT (History)
3 users (show)

See Also:
Fixed In Version: 5.0.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-04-07 16:00:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Brad Hinson 2007-12-05 14:45:21 EST
Description of problem:
RHN sends email notifications to organization admins on new user creation
regardless of 'receive email notification' check box in 'Your Preferences' page.
 If this box is unchecked, the admin should not receive these email.

Version-Release number of selected component (if applicable):
RHN 5.0.3

How reproducible:
100%

Steps to Reproduce:
Define an org admin, uncheck 'receive email notification' in preferences.  Add
user, org admin receives email.
  
Additional info:
Looks like this code was added (back) in bug 216756.
Comment 1 Brian Long 2008-01-08 11:39:46 EST
This affects me directly and I'd like it to stop.  I should not receive an email
each time a new user is created in my group's Issue Tracker org.
Comment 2 Jie Chen 2008-01-18 15:13:12 EST
I was able to reproduce the problem.  Here was what I did:
Logon using my account "jachengit" as org admin, uncheck 'receive email
notification' in preferences.  Add user jchen011808.  I receive a "Red Hat Login
Email Verificationan" email after I created the user.  
- Jie
Comment 3 Sebastian Skracic 2008-02-27 11:33:21 EST
Fixed in r118561 - added code which checks for the 'receive email notification' when 
an email about new user creation is sent out to org admins.
Comment 4 Jie Chen 2008-02-28 11:54:20 EST
I tested on webdev, it seems I still get email after creating new user with 
'receive email notification' unchecked.
Comment 5 Amy Owens 2008-03-04 10:40:25 EST
see Jie's comments
Comment 6 Sebastian Skracic 2008-03-04 10:55:21 EST
Are we maybe confusing the email sent to the created user herself (titled "Red Hat 
Login Email Verification") with that sent to the orgadmin (titled "RHN User 
Created: ...")?  The comment #2 from Jie might indicate that this is the case.  
Anyway, the fix (and hopefully the BZ entry itself) is about disabling the latter, 
ie. email titled "RHN USer Created ...".
Comment 9 Amy Owens 2008-03-05 13:18:58 EST
Hey Sebastian,
This is all set (if your email ends in rhn.redhat.com you will get emails in dev
:) --I have an alias setup for other testing so I get emails for
aowens@rhn.redhat.com... 
Comment 10 Bill C. Riemers 2008-03-13 14:23:21 EDT
In order to verify this fix in QA, I will need e-mail to briemers@rhn.redhat.com
to work, and QA will need to be setup to send e-mails to rhn.redhat.com addresses.
Comment 11 Bill C. Riemers 2008-03-14 17:07:06 EDT
verified on webqa

Note You need to log in before you can comment on or make changes to this bug.