EPrints Technical Mailing List Archive

Message: #03940


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

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


Ahhhh, SELinux.  It all suddenly makes sense!  I've wasted many an hour finding this was the answer to some cryptic problem.


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




On 17 Feb 2015, at 17:21, Laurent Cloarec wrote:

> Hello there,
> 
> 
> Thanks a lot, Adam and John for your answers !
> 
> Now I don't see anymore the quoted previous error message about the « system 
> unable to send email »...
> 
> But I haD to investigate a little further more, as the recipients of the emails 
> don't receive them !!! In "/var/log/httpd/error_log" file, I see this error 
> message : « sendmail: fatal: chdir /var/spool/postfix: Permission denied »...
> So the fix is to issue the following command :
> "setsebool httpd_can_sendmail on"
> 
> 
> Best regards
> --
> 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
> 
> 
> 
> 
>> ------------------------------
>> Message: 3
>> Date: Tue, 17 Feb 2015 11:23:05 +0000
>> From: "Field A.N." <af05v@ecs.soton.ac.uk>
>> Subject: [EP-tech] Re: system unable to send email (once more !)
>> To: eprints-tech@ecs.soton.ac.uk
>> 
>> 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
> 
>> ------------------------------
>> Message: 5
>> Date: Tue, 17 Feb 2015 11:40:11 +0000
>> From: John Salter <J.Salter@leeds.ac.uk>
>> Subject: [EP-tech] Re: system unable to send email (once more !)
>> To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
>> 
>> See also the files in:
>> ~/lib/syscfg.d/
>> 
>> (and read the README before [NOT] editing anything!)
>> 
>> Cheers,
>> John
> 
> *** 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/