Re: [Errno 13] Permission denied error when sending emails

2014-11-14 Thread Paul Fee
Hi all (and Stephen), Looks like there are problems beyond SELinux here. However in case you haven't already, you'll need adjust SELinux so that httpd (which is running the RB Django code via mod_wsgi) is allowed make outbound TCP connections to port 25. $ sudo setsebool -P

Re: [Errno 13] Permission denied error when sending emails

2014-11-13 Thread Yang
Hello Michaela, Could you please explain more how you fixed this issue? I meet the same problem of sending emails in web2py running on Apache (CentOS). Thanks! On Tuesday, August 20, 2013 7:03:51 PM UTC+2, Michaela Newell wrote: Actually, figured out what the last bits were it was because

[Errno 13] Permission denied error when sending emails

2013-08-20 Thread Michaela Newell
I am attempting to set-up emails. I have all three options selected and a valid smtp server. When I add a new user the logs show nothing but the email does not get sent. When I add a new review request I get this in the log: - Error sending e-mail notification with subject 'Review Request 1:

Re: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Stephen Gallagher
On 08/20/2013 09:46 AM, Michaela Newell wrote: I am attempting to set-up emails. I have all three options selected and a valid smtp server. When I add a new user the logs show nothing but the email does not get sent. When I add a new review request I get this in the log: - Error sending

Re: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Michaela Newell
Hi Stephan, Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried the command but the error message has changed. Output from log now is: - Error sending e-mail notification with subject 'Review Request 2: gfhgf' on behalf of ' .x...@.com' to '

Re: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Michaela Newell
Actually, figured out what the last bits were it was because I had TLS ticked but my server didn't have it. Fixed now :) Thanks very much. Your command audit2allow -a did not work however. On Tuesday, 20 August 2013 17:34:39 UTC+1, Michaela Newell wrote: Hi Stephan, Thanks for reply. It is

Re: [Errno 13] Permission denied error when sending emails

2013-08-20 Thread Stephen Gallagher
On 08/20/2013 12:34 PM, Michaela Newell wrote: Hi Stephan, Thanks for reply. It is RHEL/CentOS 6. It did not go away when I tried the command but the error message has changed. Output from log now is: - Error sending e-mail notification with subject 'Review Request 2: gfhgf' on behalf of