<?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=MSExchangeRelay</id>
	<title>MSExchangeRelay - 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=MSExchangeRelay"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=MSExchangeRelay&amp;action=history"/>
	<updated>2026-08-21T21:58:43Z</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=MSExchangeRelay&amp;diff=1901&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=MSExchangeRelay&amp;diff=1901&amp;oldid=prev"/>
		<updated>2016-04-06T20:14:19Z</updated>

		<summary type="html">&lt;p&gt;8 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are 4 possible approaches to setting up RT to receive mail from your Microsoft Exchange 2000 server, when Exchange is your primary mail server:&lt;br /&gt;
&lt;br /&gt;
1. set up a subdomain for RT and forward all email address for that subdomain to the RT server. Ie, if your email address is [mailto:username@company.com username@company.com], you would have @rt.company.com for all RT addresses, and Exchange would relay anything to @rt.company.com to the RT server.&lt;br /&gt;
&lt;br /&gt;
2. Using the same domain (company.com) setup addresses for RT ([mailto:rt@company.com rt@company.com], [mailto:rt-comments@company.com rt-comments@company.com], [mailto:rt-correspondence@company.com rt-correspondence@company.com]) and have exchange send those addresses to the RT server.&lt;br /&gt;
&lt;br /&gt;
This won&amp;#039;t work with Exchange 2007 as MS has replaced the SMTP Connector functionality with Send Connectors, that you cannot longer restrict to be used only with specific email.&lt;br /&gt;
&lt;br /&gt;
3. Create user accounts on the Exchange server and have RT use [[fetchmail]] to periodically download new messages from pop3 mailboxes.&lt;br /&gt;
&lt;br /&gt;
4. Create user accounts on the Exchange server and have it forward to a completely new domain handled by the sendmail server on the RT server ([mailto:rt-corresponce@company.com rt-corresponce@company.com] is forwarded by Exchange to [mailto:rt-correspondence@tracking.local rt-correspondence@tracking.local] whose mx record points to the RT server).&lt;br /&gt;
&lt;br /&gt;
=== More on Scenario 2: ===&lt;br /&gt;
&lt;br /&gt;
Scenario 2 can be accomplished on the Exchange Server using SMTP connectors. Here is a good primer on SMTP connectors: http://www.msexchange.org/tutorials/Configuring-SMTP-Connector.html&lt;br /&gt;
&lt;br /&gt;
It looks like what you&amp;#039;ll have to do is create Contacts in Active Directory for each email address you want to be sent to RT. Give it a first and last name as you want it to show up in the Global Address List. Give it an SMTP address as the address in your companies domain that would normally be handled by this Exchange server (eg. [mailto:rt@company.com rt@company.com]). Even though such an address would normally be created as a user account with a mailbox created on the Exchange server, you want to create a contact and then use an SMTP connector to send email for this address to the RT server.&lt;br /&gt;
&lt;br /&gt;
Now, open the Exchange System Manager and drill down thru Administrative Groups &amp;amp;gt; First Administrative Group &amp;amp;gt; Routing Groups &amp;amp;gt; First Routing Group &amp;amp;gt; Connectors. Under Connectors, you will right click and choose New &amp;amp;gt; SMTP Connector. The options you need to set are: give it a name, use the RT server as a Smarthost, add your Exchange server as a bridgehead, add your email domain (company.com) as the address space, then under Restrictions set it to deny by default and then add those Contacts you created as the allowed exceptions.&lt;br /&gt;
&lt;br /&gt;
This seems to be working, and has not caused any issues, but I have not figured out what I need to do on the RT server to get it to accept email (using [[CentOS]] 4.3). ... Well, I&amp;#039;ve set it up how it looks like it should work on the RT server, but I&amp;#039;m still getting messages from Exchange saying messages to the RT email address is bouncing between servers. Apparently the problem is getting the RT server to accept messages for RT on the local server, but use the Exchange server as a smarthost for all other addresses, including other addresses on the local domain. If Sendmail had options similar to the SMTP Connectors in Exchange, then this would be do-able.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;gt;&amp;amp;gt;This is doable through mailertable and virtusertable:&lt;br /&gt;
&lt;br /&gt;
mailertable: domain.com esmtp:[x.x.x.x]&lt;br /&gt;
&lt;br /&gt;
virtusertable: [mailto:rt@domain.com rt@domain.com] rt [mailto:rt-comment@domain.com rt-comment@domain.com] rt-comment&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t put domain.com in local-host-names &amp;amp;lt;&amp;amp;lt;&lt;br /&gt;
&lt;br /&gt;
=== [[Relaying mail from Microsoft Exchange 2007 to RT|Relaying mail from Microsoft Exchange 2007 to RT :]] ===&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=MSExchangeRelay&amp;diff=1896&amp;oldid=prev</id>
		<title>46.116.96.35 at 05:18, 19 October 2012</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=MSExchangeRelay&amp;diff=1896&amp;oldid=prev"/>
		<updated>2012-10-19T05:18:34Z</updated>

		<summary type="html">&lt;p&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 01:18, 19 October 2012&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;There are 4 possible approaches to setting up RT to receive mail from your Microsoft Exchange 2000 server, when Exchange is your primary mail server:&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;There are 4 possible approaches to setting up RT to receive mail from your &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[http://www.redx.co.il/minisite-exchange-heb.html &lt;/ins&gt;Microsoft Exchange&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;] &lt;/ins&gt;2000 server, when Exchange is your primary mail server:&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;1. set up a subdomain for RT and forward all email address for that subdomain to the RT server. Ie, if your email address is [mailto:username@company.com username@company.com], you would have @rt.company.com for all RT addresses, and Exchange would relay anything to @rt.company.com to the RT 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;1. set up a subdomain for RT and forward all email address for that subdomain to the RT server. Ie, if your email address is [mailto:username@company.com username@company.com], you would have @rt.company.com for all RT addresses, and Exchange would relay anything to @rt.company.com to the RT server.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-1895:rev-1896:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>46.116.96.35</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=MSExchangeRelay&amp;diff=1895&amp;oldid=prev</id>
		<title>202.36.134.22 at 02:58, 19 December 2011</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=MSExchangeRelay&amp;diff=1895&amp;oldid=prev"/>
		<updated>2011-12-19T02:58:19Z</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;There are 4 possible approaches to setting up RT to receive mail from your Microsoft Exchange 2000 server, when Exchange is your primary mail server:&lt;br /&gt;
&lt;br /&gt;
1. set up a subdomain for RT and forward all email address for that subdomain to the RT server. Ie, if your email address is [mailto:username@company.com username@company.com], you would have @rt.company.com for all RT addresses, and Exchange would relay anything to @rt.company.com to the RT server.&lt;br /&gt;
&lt;br /&gt;
2. Using the same domain (company.com) setup addresses for RT ([mailto:rt@company.com rt@company.com], [mailto:rt-comments@company.com rt-comments@company.com], [mailto:rt-correspondence@company.com rt-correspondence@company.com]) and have exchange send those addresses to the RT server.&lt;br /&gt;
&lt;br /&gt;
This won&amp;#039;t work with Exchange 2007 as MS has replaced the SMTP Connector functionality with Send Connectors, that you cannot longer restrict to be used only with specific email.&lt;br /&gt;
&lt;br /&gt;
3. Create user accounts on the Exchange server and have RT use [[fetchmail]] to periodically download new messages from pop3 mailboxes.&lt;br /&gt;
&lt;br /&gt;
4. Create user accounts on the Exchange server and have it forward to a completely new domain handled by the sendmail server on the RT server ([mailto:rt-corresponce@company.com rt-corresponce@company.com] is forwarded by Exchange to [mailto:rt-correspondence@tracking.local rt-correspondence@tracking.local] whose mx record points to the RT server).&lt;br /&gt;
&lt;br /&gt;
=== More on Scenario 2: ===&lt;br /&gt;
&lt;br /&gt;
Scenario 2 can be accomplished on the Exchange Server using SMTP connectors. Here is a good primer on SMTP connectors: http://www.msexchange.org/tutorials/Configuring-SMTP-Connector.html&lt;br /&gt;
&lt;br /&gt;
It looks like what you&amp;#039;ll have to do is create Contacts in Active Directory for each email address you want to be sent to RT. Give it a first and last name as you want it to show up in the Global Address List. Give it an SMTP address as the address in your companies domain that would normally be handled by this Exchange server (eg. [mailto:rt@company.com rt@company.com]). Even though such an address would normally be created as a user account with a mailbox created on the Exchange server, you want to create a contact and then use an SMTP connector to send email for this address to the RT server.&lt;br /&gt;
&lt;br /&gt;
Now, open the Exchange System Manager and drill down thru Administrative Groups &amp;amp;gt; First Administrative Group &amp;amp;gt; Routing Groups &amp;amp;gt; First Routing Group &amp;amp;gt; Connectors. Under Connectors, you will right click and choose New &amp;amp;gt; SMTP Connector. The options you need to set are: give it a name, use the RT server as a Smarthost, add your Exchange server as a bridgehead, add your email domain (company.com) as the address space, then under Restrictions set it to deny by default and then add those Contacts you created as the allowed exceptions.&lt;br /&gt;
&lt;br /&gt;
This seems to be working, and has not caused any issues, but I have not figured out what I need to do on the RT server to get it to accept email (using [[CentOS]] 4.3). ... Well, I&amp;#039;ve set it up how it looks like it should work on the RT server, but I&amp;#039;m still getting messages from Exchange saying messages to the RT email address is bouncing between servers. Apparently the problem is getting the RT server to accept messages for RT on the local server, but use the Exchange server as a smarthost for all other addresses, including other addresses on the local domain. If Sendmail had options similar to the SMTP Connectors in Exchange, then this would be do-able.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;gt;&amp;amp;gt;This is doable through mailertable and virtusertable:&lt;br /&gt;
&lt;br /&gt;
mailertable: domain.com esmtp:[x.x.x.x]&lt;br /&gt;
&lt;br /&gt;
virtusertable: [mailto:rt@domain.com rt@domain.com] rt [mailto:rt-comment@domain.com rt-comment@domain.com] rt-comment&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t put domain.com in local-host-names &amp;amp;lt;&amp;amp;lt;&lt;/div&gt;</summary>
		<author><name>202.36.134.22</name></author>
	</entry>
</feed>