<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body 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>
    <br>
    <div class="moz-cite-prefix">On 01/06/2016 22:18, Edward M. Corrado
      wrote:<br>
    </div>
    <blockquote
cite="mid:EMEW3|6e1bffbc4702d010c56b98adc4172e35s50MJ114eprints-tech-bounces|ecs.soton.ac.uk|CAMaLVE5j4V75uOKbq4wxWQk0wtPzm0k6xgsafpQTQA64RGDHUQ@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
                      href="mailto:ecorrado@ecorrado.us">ecorrado@ecorrado.us</a>
                    &lt;&gt;<br>
                    Subject: Test email from <a moz-do-not-send="true"
                      href="http://codabox.org/">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; 'smtp_server' =&gt; 'smtphost.your.domain'</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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>