<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=Blacklist</id>
	<title>Blacklist - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=Blacklist"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Blacklist&amp;action=history"/>
	<updated>2026-08-22T09:01:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=Blacklist&amp;diff=363&amp;oldid=prev</id>
		<title>Admin: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=Blacklist&amp;diff=363&amp;oldid=prev"/>
		<updated>2016-04-06T20:03:20Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;To provide the ability to add a list of &amp;quot;blacklist&amp;quot; email addresses that will always be removed.&lt;br /&gt;
&lt;br /&gt;
Add the following code to $RT_HOME/lib/RT/Action/[[SendEmail]].pm&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# Add the configured blacklist addresses&lt;br /&gt;
 my $site_blacklist = $RT::Blacklist;&lt;br /&gt;
 if( $site_blacklist ) {&lt;br /&gt;
     @blacklist = split( /,/, $site_blacklist );&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These lines of code should go immediately after:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# Let&amp;#039;s grab the SquelchMailTo attribue and push those entries into the @blacklist&lt;br /&gt;
 my @non_recipients = $self-&amp;amp;gt;TicketObj-&amp;amp;gt;SquelchMailTo;&lt;br /&gt;
 foreach my $attribute (@non_recipients) {&lt;br /&gt;
     push @blacklist, $attribute-&amp;amp;gt;Content;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the &amp;quot;[[RemoveInappropriateRecipients]]&amp;quot; sub.&lt;br /&gt;
&lt;br /&gt;
Add the following property to the $RT_HOME/etc/[[RT Config|RT_Config]].pm&lt;br /&gt;
&lt;br /&gt;
 Set( $Blacklist, &amp;#039;&amp;amp;lt;comma seperated list of addresses here&amp;amp;gt;&amp;#039; );&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>