sending mail to disabled users

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

sending mail to disabled users

Dan Holmes
Is this a known issue?  I recently disabled a user.  That account still
gets emailed when something on the bug changed.

dan
_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: sending mail to disabled users

Joel Peshkin
Dan Holmes wrote:
> Is this a known issue?  I recently disabled a user.  That account still
> gets emailed when something on the bug changed.
>
> dan

That is standard behavior.  Disabled accounts are often used for mail to
groups of people where login and password reset are disabled.
_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: sending mail to disabled users

Michael Bellomo
If you really want to disable mail to someone, you can always add their
email address to the data/nomail file.  Then they really won't get any
mail.  This is good for bogus accounts used merely for placeholding.

    -Michael

Joel Peshkin wrote:

> Dan Holmes wrote:
>
>> Is this a known issue?  I recently disabled a user.  That account
>> still gets emailed when something on the bug changed.
>>
>> dan
>
>
> That is standard behavior.  Disabled accounts are often used for mail
> to groups of people where login and password reset are disabled.
> _______________________________________________
> mozilla-webtools mailing list
> [hidden email]
> http://mail.mozilla.org/listinfo/mozilla-webtools
> .
>

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: sending mail to disabled users

Marc Schumann
In reply to this post by Dan Holmes
https://bugzilla.mozilla.org/show_bug.cgi?id=123454
https://bugzilla.mozilla.org/show_bug.cgi?id=100953

2005/8/2, Dan Holmes <[hidden email]>:
> Is this a known issue?  I recently disabled a user.  That account still
> gets emailed when something on the bug changed.

--
http://wurblzap.net/
Bugzilla hosting and professional support

_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools
Reply | Threaded
Open this post in threaded view
|

Re: sending mail to disabled users

Albert Ting
In reply to this post by Michael Bellomo

Another option is force bugzilla to not email disabled accounts.
I only had to uncomment one line of code (for 2.20rc1)

  --- Bugzilla/User.pm Mon Apr 19 12:49:11 2004
  +++ bugzilla/Bugzilla/User.pm Mon Apr 19 12:47:45 2004
  @@ -953,7 +957,7 @@
       # XXX Temporary Compatibility Change 1 of 2:
       # This code is disabled for the moment to make the behaviour like the old
       # system, which sent bugmail to disabled accounts.
  -    # return 0 if $self->{'disabledtext'};
  +    return 0 if $self->{'disabledtext'};
       
       # Make a list of the events which have happened during this bug change,
       # from the point of view of this user.    

If you want whine.pl to also ignore disabled accounts, I believe this will
work:

  --- whine.pl 2005-07-27 17:30:58.000000000 -0700
  +++ whine.pl 2005-08-02 12:15:48.000000000 -0700
  @@ -380,6 +380,8 @@
   
       # Don't send mail to someone on the nomail list.
       return if $nomail{$args->{'recipient'}->{'login'}};
  +    # Don't send mail to someone who's disabled
  +    return if $args->{'recipient'}->{'disabledtext'};
   
       my $msg = ''; # it's a temporary variable to hold the template output
       $args->{'alternatives'} ||= [];



Michael Bellomo writes:

> From: Michael Bellomo <[hidden email]>
> CC: [hidden email]
> Subject: Re: sending mail to disabled users
> Date: Tue, 02 Aug 2005 13:55:54 -0400
>
> If you really want to disable mail to someone, you can always add their
> email address to the data/nomail file.  Then they really won't get any
> mail.  This is good for bogus accounts used merely for placeholding.
>
>     -Michael
>
> Joel Peshkin wrote:
>
> > Dan Holmes wrote:
> >
> >> Is this a known issue?  I recently disabled a user.  That account
> >> still gets emailed when something on the bug changed.
> >>
> >> dan
> >
> >
> > That is standard behavior.  Disabled accounts are often used for mail
> > to groups of people where login and password reset are disabled.
> > _______________________________________________
> > mozilla-webtools mailing list
> > [hidden email]
> > http://mail.mozilla.org/listinfo/mozilla-webtools
> > .
> >
>
> _______________________________________________
> mozilla-webtools mailing list
> [hidden email]
> http://mail.mozilla.org/listinfo/mozilla-webtools


_______________________________________________
mozilla-webtools mailing list
[hidden email]
http://mail.mozilla.org/listinfo/mozilla-webtools