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, '[email protected],[email protected],[email protected]');

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, 
> '[email protected],[email protected],[email protected]');
> +             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)



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to