<?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=RTAddressRegexp</id>
	<title>RTAddressRegexp - 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=RTAddressRegexp"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;action=history"/>
	<updated>2026-08-22T09:38:12Z</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=RTAddressRegexp&amp;diff=2944&amp;oldid=prev</id>
		<title>Admin: 8 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2944&amp;oldid=prev"/>
		<updated>2016-04-06T20:24:41Z</updated>

		<summary type="html">&lt;p&gt;8 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:24, 6 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2943&amp;oldid=prev</id>
		<title>14.201.100.176: fix formatting</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2943&amp;oldid=prev"/>
		<updated>2014-07-20T04:38:06Z</updated>

		<summary type="html">&lt;p&gt;fix formatting&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:38, 20 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$&lt;/del&gt;&#039;&#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RT&#039;&#039;&#039;&#039;&#039;&#039;Address&#039;&#039;&#039;&#039;&#039;&#039;Regexp&lt;/del&gt;&#039;&#039;&#039; is used to prevent RT messaging itself and generating mail loops, for example when $[[ParseNewMessageForTicketCcs]] is enabled and other. Anyway to protect you from loops and other problems you must set up this option.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$RTAddressRegexp&lt;/ins&gt;&#039;&#039;&#039; is used to prevent RT messaging itself and generating mail loops, for example when $[[ParseNewMessageForTicketCcs]] is enabled and other. Anyway to protect you from loops and other problems you must set up this option.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this option you &amp;#039;&amp;#039;&amp;#039;MUST&amp;#039;&amp;#039;&amp;#039; cover every email address that can be used to interact with RT via email. If you have aliases of redirect messages to RT from some address those also should be covered.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this option you &amp;#039;&amp;#039;&amp;#039;MUST&amp;#039;&amp;#039;&amp;#039; cover every email address that can be used to interact with RT via email. If you have aliases of redirect messages to RT from some address those also should be covered.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-2942:rev-2943:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>14.201.100.176</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2942&amp;oldid=prev</id>
		<title>67.214.159.125: /* Simple way */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2942&amp;oldid=prev"/>
		<updated>2011-05-05T20:11:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Simple way&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:11, 5 May 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* escaped: &amp;lt;code&amp;gt;bugs\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bugs-comment\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sales\@my\.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sales-comment\@my\.com&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* escaped: &amp;lt;code&amp;gt;bugs\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bugs-comment\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sales\@my\.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sales-comment\@my\.com&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* regexp: &amp;lt;code&amp;gt;^(bugs\@my\.com|bugs-comment\@my\.com|sales\@my\.com|sales-comment\@my\.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* regexp: &amp;lt;code&amp;gt;^(bugs\@my\.com|bugs-comment\@my\.com|sales\@my\.com|sales-comment\@my\.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;^(bugs|sales)(-comment)?\@(my.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;^(bugs|sales)(-comment)?\@(my&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;\&lt;/ins&gt;.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As you can see this can get very long if there are several names for the server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As you can see this can get very long if there are several names for the server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-2941:rev-2942:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>67.214.159.125</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2941&amp;oldid=prev</id>
		<title>60.242.154.3: /* Simple way */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2941&amp;oldid=prev"/>
		<updated>2011-01-30T21:49:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Simple way&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:49, 30 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* escaped: &amp;lt;code&amp;gt;bugs\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bugs-comment\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sales\@my\.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sales-comment\@my\.com&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* escaped: &amp;lt;code&amp;gt;bugs\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bugs-comment\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sales\@my\.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sales-comment\@my\.com&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* regexp: &amp;lt;code&amp;gt;^(bugs\@my\.com|bugs-comment\@my\.com|sales\@my\.com|sales-comment\@my\.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* regexp: &amp;lt;code&amp;gt;^(bugs\@my\.com|bugs-comment\@my\.com|sales\@my\.com|sales-comment\@my\.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;^(bugs|sales)(-comment)\@(my.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;^(bugs|sales)(-comment)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;?&lt;/ins&gt;\@(my.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As you can see this can get very long if there are several names for the server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As you can see this can get very long if there are several names for the server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-2940:rev-2941:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>60.242.154.3</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2940&amp;oldid=prev</id>
		<title>60.242.154.3: /* Simple way */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2940&amp;oldid=prev"/>
		<updated>2011-01-30T21:48:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Simple way&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:48, 30 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* escaped: &amp;lt;code&amp;gt;bugs\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bugs-comment\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sales\@my\.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sales-comment\@my\.com&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* escaped: &amp;lt;code&amp;gt;bugs\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bugs-comment\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sales\@my\.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sales-comment\@my\.com&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* regexp: &amp;lt;code&amp;gt;^(bugs\@my\.com|bugs-comment\@my\.com|sales\@my\.com|sales-comment\@my\.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* regexp: &amp;lt;code&amp;gt;^(bugs\@my\.com|bugs-comment\@my\.com|sales\@my\.com|sales-comment\@my\.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;code&amp;gt;^(bugs|sales)(-comment)\@(my.com)$&amp;lt;/code&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As you can see this can get very long if there are several names for the server.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As you can see this can get very long if there are several names for the server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-2939:rev-2940:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>60.242.154.3</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2939&amp;oldid=prev</id>
		<title>86.64.170.7: /* Regexp rules you must know */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2939&amp;oldid=prev"/>
		<updated>2011-01-07T15:05:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Regexp rules you must know&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:05, 7 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;.&amp;lt;/code&amp;gt; - matches any character, so you usually should escape them&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;.&amp;lt;/code&amp;gt; - matches any character, so you usually should escape them&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;@&amp;lt;/code&amp;gt; - is used to access arrays, so you escape it to match @ literaly&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;@&amp;lt;/code&amp;gt; - is used to access arrays, so you escape it to match @ literaly&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; - match at begin and end of the string respectively, note that regexp &amp;lt;code&amp;gt;rt\@example\.com&amp;lt;/code&amp;gt; would match robert@example.com and rt@example.com.au addresses, most probably &#039;&#039;&#039;it&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;s &lt;/del&gt;not&#039;&#039;&#039; what you want, use &amp;lt;code&amp;gt;^rt\@example\.com$&amp;lt;/code&amp;gt; regexp.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; - match at begin and end of the string respectively, note that regexp &amp;lt;code&amp;gt;rt\@example\.com&amp;lt;/code&amp;gt; would match robert@example.com and rt@example.com.au addresses, most probably &#039;&#039;&#039;it &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is &lt;/ins&gt;not&#039;&#039;&#039; what you want, use &amp;lt;code&amp;gt;^rt\@example\.com$&amp;lt;/code&amp;gt; regexp.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;()&amp;lt;/code&amp;gt; - group things, often used with &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; to group alternatives&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;()&amp;lt;/code&amp;gt; - group things, often used with &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; to group alternatives&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; - separator for alternative parts, note that &amp;lt;code&amp;gt;^rt\@foo\.com|rt\@bar\.com$&amp;lt;/code&amp;gt; matches rt@foo.com.au and robert@bar.com as &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt; applies to the left alternative part and &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; to the right only, so you can &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ready &lt;/del&gt;this expression as &quot;address starts with rt@foo.com or ends with rt@bar.com&quot;. You must group alternatives &amp;lt;code&amp;gt;^(rt\@foo\.com|rt\@bar\.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; - separator for alternative parts, note that &amp;lt;code&amp;gt;^rt\@foo\.com|rt\@bar\.com$&amp;lt;/code&amp;gt; matches rt@foo.com.au and robert@bar.com as &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt; applies to the left alternative part and &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; to the right only, so you can &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;read &lt;/ins&gt;this expression as &quot;address starts with rt@foo.com or ends with rt@bar.com&quot;. You must group alternatives &amp;lt;code&amp;gt;^(rt\@foo\.com|rt\@bar\.com)$&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt; - makes &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;precedence &lt;/del&gt;atom optional, for example &amp;lt;code&amp;gt;^rt(-comment)?\@example\.com$&amp;lt;/code&amp;gt; matches rt@example.com and rt-comment@example.com&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt; - makes &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;previous &lt;/ins&gt;atom optional, for example &amp;lt;code&amp;gt;^rt(-comment)?\@example\.com$&amp;lt;/code&amp;gt; matches rt@example.com and rt-comment@example.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== See also ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[EmailInterface]] and [[SiteConfig]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[EmailInterface]] and [[SiteConfig]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>86.64.170.7</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2938&amp;oldid=prev</id>
		<title>94.195.196.89: fixed stray character breaking syntax</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2938&amp;oldid=prev"/>
		<updated>2010-12-09T22:08:07Z</updated>

		<summary type="html">&lt;p&gt;fixed stray character breaking syntax&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;$&amp;#039;&amp;#039;&amp;#039;RT&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Address&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Regexp&amp;#039;&amp;#039;&amp;#039; is used to prevent RT messaging itself and generating mail loops, for example when $[[ParseNewMessageForTicketCcs]] is enabled and other. Anyway to protect you from loops and other problems you must set up this option.&lt;br /&gt;
&lt;br /&gt;
In this option you &amp;#039;&amp;#039;&amp;#039;MUST&amp;#039;&amp;#039;&amp;#039; cover every email address that can be used to interact with RT via email. If you have aliases of redirect messages to RT from some address those also should be covered.&lt;br /&gt;
&lt;br /&gt;
An example expression:&lt;br /&gt;
&lt;br /&gt;
 Set($RTAddressRegexp , &amp;#039;^help(-comment)?\@(help|admin)\.(example\.org|ourother\.domain\.com)$&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
Would work for a server with the names &amp;quot;help&amp;quot; and &amp;quot;admin&amp;quot; and multiple domains. This will catch:&lt;br /&gt;
&lt;br /&gt;
 help@help.example.org&lt;br /&gt;
 help-comment@help.example.org&lt;br /&gt;
 help@admin.example.org&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 help-comment@admin.ourother.domain.com&lt;br /&gt;
&lt;br /&gt;
== Simple way ==&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t understand perl regular expression you can use simple way:&lt;br /&gt;
&lt;br /&gt;
* collect list of addresses you must cover&lt;br /&gt;
* escape . (dot), @ and + symbols with \&lt;br /&gt;
* fill them into template ^(escaped address 1|escaped address 2|escaped address 3|...)$&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
* addresses: bugs@my.com, bugs-comment@my.com, sales@my.com and sales-comment@my.com&lt;br /&gt;
* escaped: &amp;lt;code&amp;gt;bugs\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bugs-comment\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sales\@my\.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sales-comment\@my\.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* regexp: &amp;lt;code&amp;gt;^(bugs\@my\.com|bugs-comment\@my\.com|sales\@my\.com|sales-comment\@my\.com)$&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see this can get very long if there are several names for the server.&lt;br /&gt;
&lt;br /&gt;
== Regexp rules you must know ==&lt;br /&gt;
&lt;br /&gt;
Short perl regexps rules you must know:&lt;br /&gt;
&lt;br /&gt;
* \ - is used to escape character with special meaning, like dot, @, parens and other&lt;br /&gt;
* &amp;lt;code&amp;gt;.&amp;lt;/code&amp;gt; - matches any character, so you usually should escape them&lt;br /&gt;
* &amp;lt;code&amp;gt;@&amp;lt;/code&amp;gt; - is used to access arrays, so you escape it to match @ literaly&lt;br /&gt;
* &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; - match at begin and end of the string respectively, note that regexp &amp;lt;code&amp;gt;rt\@example\.com&amp;lt;/code&amp;gt; would match robert@example.com and rt@example.com.au addresses, most probably &amp;#039;&amp;#039;&amp;#039;it&amp;#039;s not&amp;#039;&amp;#039;&amp;#039; what you want, use &amp;lt;code&amp;gt;^rt\@example\.com$&amp;lt;/code&amp;gt; regexp.&lt;br /&gt;
* &amp;lt;code&amp;gt;()&amp;lt;/code&amp;gt; - group things, often used with &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; to group alternatives&lt;br /&gt;
* &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; - separator for alternative parts, note that &amp;lt;code&amp;gt;^rt\@foo\.com|rt\@bar\.com$&amp;lt;/code&amp;gt; matches rt@foo.com.au and robert@bar.com as &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt; applies to the left alternative part and &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; to the right only, so you can ready this expression as &amp;quot;address starts with rt@foo.com or ends with rt@bar.com&amp;quot;. You must group alternatives &amp;lt;code&amp;gt;^(rt\@foo\.com|rt\@bar\.com)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt; - makes precedence atom optional, for example &amp;lt;code&amp;gt;^rt(-comment)?\@example\.com$&amp;lt;/code&amp;gt; matches rt@example.com and rt-comment@example.com&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
[[EmailInterface]] and [[SiteConfig]]&lt;/div&gt;</summary>
		<author><name>94.195.196.89</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2936&amp;oldid=prev</id>
		<title>Ghoti at 21:32, 22 October 2010</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RTAddressRegexp&amp;diff=2936&amp;oldid=prev"/>
		<updated>2010-10-22T21:32:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;$&amp;#039;&amp;#039;&amp;#039;RT&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Address&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;Regexp&amp;#039;&amp;#039;&amp;#039; is used to prevent RT messaging itself and generating mail loops, for example when $[[ParseNewMessageForTicketCcs]] is enabled and other. Anyway to protect you from loops and other problems you must set up this option.&lt;br /&gt;
&lt;br /&gt;
In this option you &amp;#039;&amp;#039;&amp;#039;MUST&amp;#039;&amp;#039;&amp;#039; cover every email address that can be used to interact with RT via email. If you have aliases of redirect messages to RT from some address those also should be covered.&lt;br /&gt;
&lt;br /&gt;
An example expression:&lt;br /&gt;
&lt;br /&gt;
 Set($RTAddressRegexp , &amp;#039;^help(-comment)?\@(help|admin)\.(example\.org|ourother\.domain\.com)$&amp;#039;);]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Would work for a server with the names &amp;quot;help&amp;quot; and &amp;quot;admin&amp;quot; and multiple domains. This will catch:&lt;br /&gt;
&lt;br /&gt;
 help@help.example.org&lt;br /&gt;
 help-comment@help.example.org&lt;br /&gt;
 help@admin.example.org&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 .&lt;br /&gt;
 help-comment@admin.ourother.domain.com&lt;br /&gt;
&lt;br /&gt;
== Simple way ==&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t understand perl regular expression you can use simple way:&lt;br /&gt;
&lt;br /&gt;
* collect list of addresses you must cover&lt;br /&gt;
* escape . (dot), @ and + symbols with \&lt;br /&gt;
* fill them into template ^(escaped address 1|escaped address 2|escaped address 3|...)$&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
* addresses: bugs@my.com, bugs-comment@my.com, sales@my.com and sales-comment@my.com&lt;br /&gt;
* escaped: &amp;lt;code&amp;gt;bugs\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bugs-comment\@my\.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sales\@my\.com&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;sales-comment\@my\.com&amp;lt;/code&amp;gt;&lt;br /&gt;
* regexp: &amp;lt;code&amp;gt;^(bugs\@my\.com|bugs-comment\@my\.com|sales\@my\.com|sales-comment\@my\.com)$&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see this can get very long if there are several names for the server.&lt;br /&gt;
&lt;br /&gt;
== Regexp rules you must know ==&lt;br /&gt;
&lt;br /&gt;
Short perl regexps rules you must know:&lt;br /&gt;
&lt;br /&gt;
* \ - is used to escape character with special meaning, like dot, @, parens and other&lt;br /&gt;
* &amp;lt;code&amp;gt;.&amp;lt;/code&amp;gt; - matches any character, so you usually should escape them&lt;br /&gt;
* &amp;lt;code&amp;gt;@&amp;lt;/code&amp;gt; - is used to access arrays, so you escape it to match @ literaly&lt;br /&gt;
* &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; - match at begin and end of the string respectively, note that regexp &amp;lt;code&amp;gt;rt\@example\.com&amp;lt;/code&amp;gt; would match robert@example.com and rt@example.com.au addresses, most probably &amp;#039;&amp;#039;&amp;#039;it&amp;#039;s not&amp;#039;&amp;#039;&amp;#039; what you want, use &amp;lt;code&amp;gt;^rt\@example\.com$&amp;lt;/code&amp;gt; regexp.&lt;br /&gt;
* &amp;lt;code&amp;gt;()&amp;lt;/code&amp;gt; - group things, often used with &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; to group alternatives&lt;br /&gt;
* &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; - separator for alternative parts, note that &amp;lt;code&amp;gt;^rt\@foo\.com|rt\@bar\.com$&amp;lt;/code&amp;gt; matches rt@foo.com.au and robert@bar.com as &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt; applies to the left alternative part and &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; to the right only, so you can ready this expression as &amp;quot;address starts with rt@foo.com or ends with rt@bar.com&amp;quot;. You must group alternatives &amp;lt;code&amp;gt;^(rt\@foo\.com|rt\@bar\.com)$&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt; - makes precedence atom optional, for example &amp;lt;code&amp;gt;^rt(-comment)?\@example\.com$&amp;lt;/code&amp;gt; matches rt@example.com and rt-comment@example.com&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
[[EmailInterface]] and [[SiteConfig]]&lt;/div&gt;</summary>
		<author><name>Ghoti</name></author>
	</entry>
</feed>