<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
My application sends emails out (order confirmation emails, "out of
stock" notification emails, "back in stock" notification emails,
etc.).&nbsp; I use the AdHocComposition class (in Squeak 3.5) thusly:<br>
<br>
&nbsp;&nbsp; (AdHocComposition celeste: aServer initialText: aStream contents)
submit<br>
<br>
where 'aServer' is usually set to my own mail.bountifulbaby.net email
server, and 'aStream' of course has the message to be emailed.<br>
<br>
This used to work flawlessly, but now about one email out of about 200
or so get bounced.&nbsp; Here is a sample of the bounce message (but with
<a class="moz-txt-link-rfc2396E" href="mailto:foo@frontiernet.net">"foo@frontiernet.net"</a>
instead of the real email address being sent to,
for privacy reasons):<br>
<br>
<div class="moz-text-plain" wrap="true" graphical-quote="true"
 style="font-family: -moz-fixed; font-size: 13px;" lang="x-western">
<pre wrap="">The original message was received at Fri, 25 Nov 2005 01:57:00 -0700
from bountifulbaby.com [166.70.210.67]

   ----- The following addresses had permanent fatal errors -----
<a class="moz-txt-link-rfc2396E" href="mailto:ffb4@frontiernet.net">&lt;foo@frontiernet.net&gt;</a>
    (reason: 554 &lt;localhost.localdomain&gt;: Helo command rejected: You are not me. See <a
 class="moz-txt-link-freetext" href="http://postmaster.frontiernet.net">http://postmaster.frontiernet.net</a>. See <a
 class="moz-txt-link-freetext" href="http://postmaster.frontiernet.net">http://postmaster.frontiernet.net</a>)

   ----- Transcript of session follows -----
... while talking to mx.frontiernet.net.:
</pre>
<blockquote type="cite">
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap=""><span class="moz-txt-citetags">&gt;&gt;&gt; </span>DATA
      </pre>
    </blockquote>
  </blockquote>
</blockquote>
<pre wrap=""><!---->&lt;&lt;&lt; 554 &lt;localhost.localdomain&gt;: Helo command rejected: You are not me. See <a
 class="moz-txt-link-freetext" href="http://postmaster.frontiernet.net">http://postmaster.frontiernet.net</a>. See <a
 class="moz-txt-link-freetext" href="http://postmaster.frontiernet.net">http://postmaster.frontiernet.net</a>
554 5.0.0 Service unavailable
&lt;&lt;&lt; 554 Error: no valid recipients
</pre>
</div>
Sometimes the bounce message is a little different, saying something
like <br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; &lt;localhost.localdomain&gt; invalid MTA<br>
<br>
But even that message seems to be related to the same Squeak email
configuration issue.<br>
<br>
I don't know a whole lot about email transport protocol, but basically
it looks like a configuration issue with the AdHocComposition class,
where it is inserting "localhost.localdomain" as the MTA in the "Helo"
field of the message?&nbsp; Or something like that-- I don't really know,
nor do I understand it.<br>
<br>
Can anybody shed any light on this?<br>
<br>
Nevin<br>
<br>
</body>
</html>