<div dir="ltr">Hi David,<div><br></div><div>Thanks for the suggestion about looking at the mail.log which I didn&#39;t think to do. I confirmed that nothing is being written there or to the mail.err log. So, I imagine that it is not getting that far for whatever reason. </div><div><br></div><div>It is possible that my idea of trying to use something simple like ssmtp has more complicated things. :-)</div><div><br></div><div>Thanks,</div><div>Edward</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 1, 2016 at 4:28 PM, David R Newman <span dir="ltr">&lt;<a href="mailto:drn@ecs.soton.ac.uk" target="_blank">drn@ecs.soton.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Hi Edward,</p>
    <p>I think SSMTP also writes to /var/log/maillog so it may be worth
      checking that to see if there is anything useful.  I typically use
      Sendmail, which is a bit overkill but seems to be more helpful
      when I am trying to determine whether there is issues with SPF
      whitelists or similar.</p>
    <p>I am not aware of any modifications to the EPrints configuration
      for sending mail beyond what you have described.<br>
    </p>
    <p>Regards</p>
    <p>David Newman<br>
    </p><div><div class="h5">
    <br>
    <div>On 01/06/2016 22:18, Edward M. Corrado
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">Hello,
        <div><br>
        </div>
        <div>I configured ssmtp on my Ubuntu box and it sends e-mails
          fine (via gmail) from the command line. However, whenever I
          try to send a test e-mail from Eprints (v. <span style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:12.8px">3.3.15</span>)
          on Ubuntu 14.04.4 LTS I get an error saying:</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <table style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:12.8px">
            <tbody>
              <tr>
                <td>
                  <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">The
                    system is currently unable to send email. Please try
                    again later. If this problem persists, please
                    contact the administrator with details.</blockquote>
                  <p>The apache error.log file gets the following entry
                    written to it:</p>
                  <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Failed
                    to create SMTP connection to smtp<br>
                    Wide character in print at (eval 477) line 44.<br>
                    Failed to send mail.<br>
                    To: <a href="mailto:ecorrado@ecorrado.us" target="_blank">ecorrado@ecorrado.us</a>
                    &lt;&gt;<br>
                    Subject: Test email from <a href="http://codabox.org/" target="_blank">http://codabox.org/</a>
                    ☺</blockquote>
                  <div><br>
                  </div>
                  <p>Does anyone have any idea what to configure for
                    ssmtp? I tried some thing I found in various old
                    e-mails, but nothing seems to work. </p>
                  <p>The main things I have tried include: D<span style="font-size:12.8px">efining</span><span style="font-size:12.8px"> my  smtp server in <font face="monospace, monospace">perl_lib/Eprint/SystemSeting.pm</font>
                      file.</span></p>
                  <pre>&gt; &#39;smtp_server&#39; =&gt; &#39;smtphost.your.domain&#39;</pre>
                  <pre></pre>
                  <pre><font face="arial, helvetica, sans-serif">I tried localhost and a few other possibilities but no luck. </font></pre>
                  <pre></pre>
                  <pre><font face="arial, helvetica, sans-serif">I also checked that</font> <span style="font-size:12.8px"><font face="monospace, monospace">$c-&gt;{send_email} = \&amp;EPrints::Email::send_mail_via_smtp;</font></span><span style="font-family:arial,sans-serif;font-size:12.8px"> was uncommented in </span></pre>
                </td>
              </tr>
            </tbody>
          </table>
          FWIW: After trying these things I did restart apache although
          I am not sure if it matters.</div>
        <div><br>
        </div>
        <div>IS anyone using ssmtp with Eprints and has an idea what to
          look for? If not maybe I will need to try Exim4 or Postfix.</div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Edward</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a><br>
<br></blockquote></div><br></div>