<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I was struggling with this just this week, but found instead I could
    use another SMTP server that was more suited to this kind of email.&nbsp;
    I made these changes:<br>
    <br>
    Edit: /usr/share/eprints/perl_lib/EPrints/SystemSettings.pm<br>
    <br>
    'smtp_server' =&gt; '<b>my.smtp.server</b>',<br>
    <br>
    Edit: /usr/share/eprints/perl_lib/EPrints/Email.pm<br>
    <br>
    my $smtp = Net::SMTP-&gt;new( $smtphost<b>, </b><b>Hello =&gt;
      'my.eprints.domain' </b>);<br>
    (which is the bit just before where you put your username and
    password, I'm afraid I don't have line numbers to hand)<br>
    <br>
    Not sure that will help in your case, but it worked for me.<br>
    <br>
    Lizz<br>
    <br>
    <div class="moz-cite-prefix">On 25/03/2014 16:36, Jacob Wenzel
      wrote:<br>
    </div>
    <blockquote
cite="mid:EMEW3|64a5272f4a48bfe53f1a89336ba7e21aq2OGgE14eprints-tech-bounces|ecs.soton.ac.uk|5331B096.6080106@energiakademiet.dk"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      I have EPrints v3.3.12 running in Ubuntu server 10.04.<br>
      <br>
      Everything seems to be working but email. Am I able to specify
      port, username and password for smtp authentication anywhere in
      the EPrints configuration files?<br>
      <br>
      I can't figure out how to get an smtp server running on my own
      VPS, so I have opened an account on mandrill.com to be able to use
      their smtp server, but I need to pass on username and password and
      connect through port 587.<br>
      <br>
      I've searched a bit and tried fiddling with some hack suggested
      for EPrints 2, but without luck. What I have tried:<br>
      <br>
      <b>'smtp_server' =&gt; 'smtp.mandrillapp.com:587',</b><br>
      <br>
      in "/usr/share/eprints3/perl_lib/EPrints/SystemSettings.pm"<br>
      <br>
      and<br>
      <br>
      <b>$smtp-&gt;auth( 'username','password' );</b><br>
      <br>
      on line 167 of "/usr/share/eprints3/perl_lib/EPrints/Email.pm" (Of
      course with the real username and passwords)<br>
      <br>
      I'm sorry if this has been answered somewhere before, I've found
      several people with the problem, but none with the solution.<br>
      <br>
      Thank you in advance!<br>
      <br>
      /Jacob<br>
      <br>
      <br>
      <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>
    <pre class="moz-signature" cols="72">-- 
Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2013)
Technical Data Officer
The Library 4.10, University of Bath, Bath, BA2 7AY UK
Ext. 3570 (External 01225 383570)
<a class="moz-txt-link-abbreviated" href="mailto:E.Jennings@bath.ac.uk">E.Jennings@bath.ac.uk</a></pre>
  </body>
</html>