<!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">
Julian<br>
<br>
We used to do that with our Bountiful Baby email.&nbsp; It works fine.&nbsp;
However, it was still flagged as spam for some of our customers,
because their email systems noticed that we relayed from a mail server
(our local sendmail) on through yet another mail server (the ISP's),
and the emails were flagged as suspicious because of that.<br>
<br>
Before doing the above, we used to rely solely on our own SMTP server
and not relay through the ISP, but then some of the email was flagged
as spam I *think* because our SMTP server wasn't a well-known server at
the time (which is why we started relaying through the ISP's server).<br>
<br>
We've never found a completely "fool-proof" solution.&nbsp; Some percentage
of the outgoing emails is always going to be flagged as spam, no matter
what.&nbsp; The trick is to pick the solution that results in the least spam
flags.&nbsp; And it's not easy.<br>
<br>
I've now gone back to just using our own SMTP server, rather than
relaying through the ISP, for emails that are sent directly from our
website, and relaying through the ISP for all the rest.&nbsp; Now that
Bountiful Baby isn't a completely unknown company, I'm thinking that's
going to work out to be the best now.&nbsp; But I'm not sure, and it's still
being tested.&nbsp; And, things seem to always change out from under us, so
what works best today might not work best tomorrow.<br>
<br>
But otherwise I think I would agree with you, and do it the way you
suggest.&nbsp; At least as a starting point.<br>
<br>
Nevin<br>
<br>
<br>
<blockquote
 cite="mid:x2m4a5dbd431005050058s5f1d8ecj46a9b139875170a@mail.gmail.com"
 type="cite">Configure sendmail to listen only on localhost and forward
mail to your ISP's SMTP server. This is likely what I would use in a
deployed environment.<br>
  <br>
Julian<br>
  <br>
  <div class="gmail_quote">On Wed, May 5, 2010 at 7:53 AM, AxiNat <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:tibabenfortlapalanca@gmail.com">tibabenfortlapalanca@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Okay,
this is what I found so far (example in SMTPClient):<br>
    <br>
    <div style="margin-left: 40px; font-family: courier new,monospace;">self
deliverMailFrom: '<a moz-do-not-send="true"
 href="mailto:m.rueger@acm.org" target="_blank">m.rueger@acm.org</a>'
to: #('<a moz-do-not-send="true" href="mailto:m.rueger@acm.org"
 target="_blank">m.rueger@acm.org</a>') text:<br>
'Subject: this is a test<br>
    <br>
Hello from Pharo!<br>
'&nbsp;&nbsp;&nbsp; usingServer: '<a moz-do-not-send="true"
 href="http://smtp.concentric.net" target="_blank">smtp.concentric.net</a>'<br>
    </div>
    <br>
I tried that using my own smtp server, but it requires authentication
and doesn't let the e-mail go through. If I try it with a local
sendmail daemon, my guess is that the message is gonna end up in the
spam folder of most people... I remember at university we had this
exercises consisting on sending e-mails through sendmail and straight
via telnet, and they would end up classified as spam, I'm not sure
whether this is the same case tho...<br>
    <br>
Does someone have further information on that patch that allows
authentication?<br>
    <br>
Thanks!
    <div>
    <div class="h5"><br>
    <br>
    <div class="gmail_quote">2010/5/5 Lukas Renggli <span dir="ltr">&lt;<a
 moz-do-not-send="true" href="mailto:renggli@gmail.com" target="_blank">renggli@gmail.com</a>&gt;</span><br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Not
necessarily, you can connect to any SMTP server. I am not sure if<br>
authentication is built in nowadays, but there was a patch floating<br>
around that would add it.<br>
      <font color="#888888"><br>
Lukas<br>
      </font>
      <div>
      <div><br>
On 5 May 2010 08:19, AxiNat &lt;<a moz-do-not-send="true"
 href="mailto:tibabenfortlapalanca@gmail.com" target="_blank">tibabenfortlapalanca@gmail.com</a>&gt;
wrote:<br>
&gt; I'm on Pharo 1.0, been checking SMTPClient, but it still looks
like it needs<br>
&gt; sendmail to be running in the system, or I may totally be
missunderstanding<br>
&gt; the way it works, which is a very plausible option possibility...<br>
&gt;<br>
&gt; 2010/5/5 Lukas Renggli &lt;<a moz-do-not-send="true"
 href="mailto:renggli@gmail.com" target="_blank">renggli@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Seaside does not provide an SMTP library, but most Smalltalk
dialects<br>
&gt;&gt; do. On which Smalltalk are you?<br>
&gt;&gt;<br>
&gt;&gt; Lukas<br>
&gt;&gt;<br>
&gt;&gt; On 5 May 2010 07:21, AxiNat &lt;<a moz-do-not-send="true"
 href="mailto:tibabenfortlapalanca@gmail.com" target="_blank">tibabenfortlapalanca@gmail.com</a>&gt;
wrote:<br>
&gt;&gt; &gt; Hi all,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I'd like to know what's the best way to send e-mails from
a seaside app,<br>
&gt;&gt; &gt; so<br>
&gt;&gt; &gt; far I've read about some Smalltalk SMTP library, using
unix sendmail or<br>
&gt;&gt; &gt; sendEmail.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; sendEmail sounds like the easiest method, but I don't
like depending on<br>
&gt;&gt; &gt; external tools...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any suggestions, tips? Any howtos around?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks!<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Bernat Romagosa.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; seaside mailing list<br>
&gt;&gt; &gt; <a moz-do-not-send="true"
 href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; &gt; <a moz-do-not-send="true"
 href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
 target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Lukas Renggli<br>
&gt;&gt; <a moz-do-not-send="true" href="http://www.lukas-renggli.ch"
 target="_blank">www.lukas-renggli.ch</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt; <a moz-do-not-send="true"
 href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; <a moz-do-not-send="true"
 href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
 target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a moz-do-not-send="true"
 href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
&gt; <a moz-do-not-send="true"
 href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
 target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
      <br>
      <br>
      <br>
--<br>
Lukas Renggli<br>
      <a moz-do-not-send="true" href="http://www.lukas-renggli.ch"
 target="_blank">www.lukas-renggli.ch</a><br>
_______________________________________________<br>
seaside mailing list<br>
      <a moz-do-not-send="true"
 href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
      <a moz-do-not-send="true"
 href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
 target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
      </div>
      </div>
    </blockquote>
    </div>
    <br>
    </div>
    </div>
    <br>
_______________________________________________<br>
seaside mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside"
 target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
    <br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
  </pre>
</blockquote>
<br>
</body>
</html>