[request-tracker-maintainers] Bug#463466: request-tracker3.6: Enhancement to provide a global squelch list

Chris Adams chris at improbable.org
Fri Jul 23 22:32:11 UTC 2010


No - at this point it's been a few years since I've supported RT at
all and it's an easy patch to update if someone still needs it.

Chris

On Jul 23, 2010, at 5:27 PM, Dominic Hargreaves <dom at earth.li> wrote:

> On Thu, Jan 31, 2008 at 11:57:01AM -0800, Chris Adams wrote:
>> The attached patch allows you to create a SiteConfig variable containing
>> a list of addresses which RT should not send email to:
>>
>> Set($SquelchList, 'root at example.edu,www-data at example.edu,nobody at example.edu');
>
> Hi Chris,
>
> I'm sorry it's taken such a long time to respond to this patch. We
> won't be able to make any more changes to the 3.6 series and would
> prefer to send patches upstream for 3.8 if we get any.
>
> Do you have such a patch for 3.8? If so feel free to send it in reply
> to this message and I'll forward it upstream if you haven't already.
>
> Otherwise, I will plan to close this bug.
>
> Best wishes,
> Dominic.
>
>> --- SendEmail.pm    2008-01-31 11:51:15.344883000 -0800
>> +++ /usr/share/request-tracker3.6/lib/RT/Action/SendEmail.pm    2008-01-31 11:54:30.000000000 -0800
>> @@ -593,6 +593,15 @@
>>         push @blacklist, $attribute->Content;
>>     }
>>
>> +        # BEGIN SNL Modification: global squelch list
>> +        #    This allows you to add a variable to RT_SiteConfig.pm containing addresses which will always be squelched:
>> +        # Set($SquelchList, 'root at example.edu,www-data at example.edu,nobody at example.edu');
>> +        if ($RT::SquelchList) {
>> +      $RT::Logger->debug("Using global squelch list: $RT::SquelchList\n");
>> +            push @blacklist, split(/,/, $RT::SquelchList);
>> +        }
>> +        # END SNL Modification: global squelch list
>> +
>>     # Cycle through the people we're sending to and pull out anyone on the
>>     # system blacklist
>>
>
>
> --
> Dominic Hargreaves | http://www.larted.org.uk/~dom/
> PGP key 5178E2A5 from the.earth.li (keyserver,web,email)





More information about the pkg-request-tracker-maintainers mailing list