[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: system unable to send email (once more !)



See also the files in:
~/lib/syscfg.d/

(and read the README before [NOT] editing anything!)

Cheers,
John


-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Field A.N.
Sent: 17 February 2015 11:23
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: system unable to send email (once more !)

Hi Laurent

	Have a look in your repository's email.pl configuration file (located in <eprints_root>/archives/<archive_id>/cfg/cfg.d/).  You should be able to control which function is used for sending email by uncommenting and commenting various options.

	Best Wishes

--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services




On 13 Feb 2015, at 16:44, Laurent Cloarec wrote:

> In the error_log, I found this :
> ?
> Failed to create SMTP connection to smtp.univ-tlse1.fr
> Wide character in print at (eval 119) line 44.
> Failed to send mail.
> To: cloarec at univ-tlse1.fr <>
> Subject: Test email from http://ep-test.ut-capitole.fr
> ?
> It may be a firewall problem (???)...
> Nevertheles, as I wrote, I was able to send emails from the command line, using 
> the Postfix installation.
> Is there a way to rely on the local Postfix system instead of SMTP relay host ?
> 
> 
> Best regards
> 
> 
> Le 13/02/2015 16:08, Laurent Cloarec a ?crit :
>> Hello,
>> 
>> 
>> In addition to our production server, I've just set up a test LAMP CentOS (6.x)
>> server with an installation of "EPrints" (3.3.13) software.
>> 
>> "Postfix" is configured (in /etc/postfix/main.cf, I've put the name of our SMTP
>> server in the "relayhost" parameter) on this CentOS server, and I'm able to send
>> emails from the command line (and receive them, of course !).
>> 
>> In the "perl_lib/EPrints/SystemSettings.pm",I have this :
>> $EPrints::SystemSettings::conf =
>> {
>>         'user' => 'eprints',
>>         'group' => 'eprints',
>>         'smtp_server' => 'xxx'
>> };
>> where I've tried to write, instead of "xxx", the name of our university SMTP
>> server (works fine on production server) and 'localhost'
>> With either value, when I try the "Send Test Email" admin tool, I receive the
>> old well known "The system is currently unable to send email" message...
>> 
>> So what's wrong ?
>> 
>> 
>> Thanks, beforehand !
>> 
>> --
>> Laurent Cloarec
>> Service Commun de la Documentation - Service Num?rique Documentaire
>> Biblioth?que Universitaire de l'Arsenal (bureau BU 017)
>> Universit? Toulouse 1 Capitole
>> 11 rue des Puits-Creus?s
>> 31042  TOULOUSE  Cedex 9 (France)
>> t?l. : (+33)(0)5.34.45.61.23
> 
> *** 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/