Mail relaying with NetSuite

This commit is contained in:
Ian Gulliver
2019-04-21 17:36:52 +00:00
parent 7858ef1fcd
commit 97470f42cf
4 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<!--# set var="title" value="Mail relaying with NetSuite" -->
<!--# set var="date" value="March 3, 2006" -->
<!--# include file="include/top.html" -->
<p>When sending a reply to a valid “message.<msgid>@messages.netsuite.com” address, I discovered something interesting. <a href="http://netsuite.com/">NetSuite</a> uses these addresses to store a copy of the message with the order, then forwards the message along to the real destination. However, the forwarding method is busted.</p>
<p>It translates the headers in the original message. I sent:</p>
<pre><code>From: Ian Gulliver &lt;ian@penguinhosting.net&gt;
To: “George Sasson (PAA)” &lt;messages.&lt;msgid&gt;@messages.netsuite.com&gt;
Cc: ian-djmart@penguinhosting.net
</code></pre>
<p>It internally translated this to:</p>
<pre><code>From: ian@penguinhosting.net
To: george@proaudioamerica.com
Cc: ian-djmart@penguinhosting.net
</code></pre>
<p>It then passed the message to its outgoing mail program, which <strong>reparsed the headers</strong>. In this case, it means that I got two copies of the message; one from my local MTA because of the CC, and one back from NetSuite because of the CC.</p>
<p><a href="http://prolixium.com/">prox</a> helped me test this; it works when the CC isnt coming back to the same host. That means its a valid relay method.</p>
<!--# include file="include/bottom.html" -->

View File

@@ -40,6 +40,7 @@
<li>2009-Sep-11: <a href="2009-09-11-confusing-bind-with-cnames.html">Confusing BIND with CNAMEs</a></li>
<li>2009-Feb-19: <a href="2019-02-19-the-odd-case-of-my-mugging.html">The odd case of my mugging</a></li>
<li>2009-Feb-03: <a href="2009-02-03-5-packet-tcp-connection.html">5-packet TCP connection?</a></li>
<li>2006-Mar-03: <a href="2006-03-03-mail-relaying-with-netsuite.html">Mail relaying with NetSuite</a></li>
<li>2006-Mar-02: <a href="2006-03-02-udev-is-your-friend.html">udev is your friend</a></li>
<li>2006-Mar-02: <a href="2006-03-02-why-is-my-directory-empty-and-large.html">Why is my directory empty and large?</a></li>
<li>2006-Feb-26: <a href="2006-02-26-why-isnt-mod_auth_pam-working-with-nis.html">Why isnt mod_auth_pam working with NIS?</a></li>

View File

@@ -0,0 +1,24 @@
<!--# set var="title" value="Mail relaying with NetSuite" -->
<!--# set var="date" value="March 3, 2006" -->
<!--# include file="include/top.html" -->
When sending a reply to a valid “message.<msgid>@messages.netsuite.com” address, I discovered something interesting. [NetSuite](http://netsuite.com/) uses these addresses to store a copy of the message with the order, then forwards the message along to the real destination. However, the forwarding method is busted.
It translates the headers in the original message. I sent:
From: Ian Gulliver <ian@penguinhosting.net>
To: “George Sasson (PAA)” <messages.<msgid>@messages.netsuite.com>
Cc: ian-djmart@penguinhosting.net
It internally translated this to:
From: ian@penguinhosting.net
To: george@proaudioamerica.com
Cc: ian-djmart@penguinhosting.net
It then passed the message to its outgoing mail program, which __reparsed the headers__. In this case, it means that I got two copies of the message; one from my local MTA because of the CC, and one back from NetSuite because of the CC.
[prox](http://prolixium.com/) helped me test this; it works when the CC isnt coming back to the same host. That means its a valid relay method.
<!--# include file="include/bottom.html" -->

View File

@@ -39,6 +39,7 @@
1. 2009-Sep-11: [Confusing BIND with CNAMEs](2009-09-11-confusing-bind-with-cnames.html)
1. 2009-Feb-19: [The odd case of my mugging](2019-02-19-the-odd-case-of-my-mugging.html)
1. 2009-Feb-03: [5-packet TCP connection?](2009-02-03-5-packet-tcp-connection.html)
1. 2006-Mar-03: [Mail relaying with NetSuite](2006-03-03-mail-relaying-with-netsuite.html)
1. 2006-Mar-02: [udev is your friend](2006-03-02-udev-is-your-friend.html)
1. 2006-Mar-02: [Why is my directory empty and large?](2006-03-02-why-is-my-directory-empty-and-large.html)
1. 2006-Feb-26: [Why isnt mod\_auth\_pam working with NIS?](2006-02-26-why-isnt-mod_auth_pam-working-with-nis.html)