EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05762
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] ssmtp and eprints
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] ssmtp and eprints
- From: "Edward M. Corrado" <ecorrado@ecorrado.us>
- Date: Wed, 1 Jun 2016 16:37:59 -0500
Hi Edward,
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.
I am not aware of any modifications to the EPrints configuration for sending mail beyond what you have described.
Regards
David Newman
On 01/06/2016 22:18, Edward M. Corrado wrote:
Hello,
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. 3.3.15) on Ubuntu 14.04.4 LTS I get an error saying:
FWIW: After trying these things I did restart apache although I am not sure if it matters.
The system is currently unable to send email. Please try again later. If this problem persists, please contact the administrator with details.The apache error.log file gets the following entry written to it:
Failed to create SMTP connection to smtp
Wide character in print at (eval 477) line 44.
Failed to send mail.
To: ecorrado@ecorrado.us <>
Subject: Test email from http://codabox.org/ ☺
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.
The main things I have tried include: Defining my smtp server in perl_lib/Eprint/SystemSeting.pm file.
> 'smtp_server' => 'smtphost.your.domain'I tried localhost and a few other possibilities but no luck.I also checked that $c->{send_email} = \&EPrints::Email::send_mail_via_smtp; was uncommented in
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.
Thanks,Edward
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
- References:
- [EP-tech] ssmtp and eprints
- From: "Edward M. Corrado" <ecorrado@ecorrado.us>
- Re: [EP-tech] ssmtp and eprints
- From: David R Newman <drn@ecs.soton.ac.uk>
- [EP-tech] ssmtp and eprints
- Prev by Date: Re: [EP-tech] ssmtp and eprints
- Next by Date: Re: [EP-tech] ssmtp and eprints
- Previous by thread: Re: [EP-tech] ssmtp and eprints
- Next by thread: Re: [EP-tech] ssmtp and eprints
- Index(es):