Re: [CentOS] SELinux prevents my PHP script from sending mail

2012-05-03 Thread Alan M. Evans
On Thu, 2012-05-03 at 11:04 -0400, Daniel J Walsh wrote: > On 05/03/2012 10:40 AM, Alan M. Evans wrote: > > On Thu, 2012-05-03 at 10:19 -0400, Daniel J Walsh wrote: > > > >> What AVC messages are you seeing? > > > > None now, as I said. But before I applied the local policy, the denials > > were

Re: [CentOS] SELinux prevents my PHP script from sending mail

2012-05-03 Thread Eero Volotinen
2012/5/3 Alan M. Evans : > [ Sorry about the private message. Reply-to header wasn't set in your > message. Resending to all... ] > > On Thu, 2012-05-03 at 10:19 -0400, Daniel J Walsh wrote: > >> What AVC messages are you seeing? > > None now, as I said. But before I applied the local policy, the d

Re: [CentOS] SELinux prevents my PHP script from sending mail

2012-05-03 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/03/2012 10:40 AM, Alan M. Evans wrote: > [ Sorry about the private message. Reply-to header wasn't set in your > message. Resending to all... ] > > On Thu, 2012-05-03 at 10:19 -0400, Daniel J Walsh wrote: > >> What AVC messages are you seeing?

Re: [CentOS] SELinux prevents my PHP script from sending mail

2012-05-03 Thread Alan M. Evans
[ Sorry about the private message. Reply-to header wasn't set in your message. Resending to all... ] On Thu, 2012-05-03 at 10:19 -0400, Daniel J Walsh wrote: > What AVC messages are you seeing? None now, as I said. But before I applied the local policy, the denials were: type=AVC msg=audit(1335

Re: [CentOS] SELinux prevents my PHP script from sending mail

2012-05-03 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/03/2012 10:02 AM, Alan M. Evans wrote: > On Thu, 2012-05-03 at 06:54 -0700, Alan M. Evans wrote: >> On Thu, 2012-05-03 at 10:33 +0100, Colin Coles wrote: >>> On Wednesday 02 May 2012, Alan M. Evans wrote: Hello all... I maintain a

Re: [CentOS] SELinux prevents my PHP script from sending mail

2012-05-03 Thread Alan M. Evans
On Thu, 2012-05-03 at 06:54 -0700, Alan M. Evans wrote: > On Thu, 2012-05-03 at 10:33 +0100, Colin Coles wrote: > > On Wednesday 02 May 2012, Alan M. Evans wrote: > > > Hello all... > > > > > > I maintain an amateurish email list for my wife's website on my CentOS 6 > > > server. Once-a-month, she

Re: [CentOS] SELinux prevents my PHP script from sending mail

2012-05-03 Thread Alan M. Evans
On Thu, 2012-05-03 at 10:33 +0100, Colin Coles wrote: > On Wednesday 02 May 2012, Alan M. Evans wrote: > > Hello all... > > > > I maintain an amateurish email list for my wife's website on my CentOS 6 > > server. Once-a-month, she sends mail to "mylista...@mydomain.com" and > > the /etc/aliases fi

Re: [CentOS] SELinux prevents my PHP script from sending mail

2012-05-03 Thread Colin Coles
On Wednesday 02 May 2012, Alan M. Evans wrote: > Hello all... > > I maintain an amateurish email list for my wife's website on my CentOS 6 > server. Once-a-month, she sends mail to "mylista...@mydomain.com" and > the /etc/aliases file redirects that to my script: > > mylistaddr: "| /usr/bin/php-c

[CentOS] SELinux prevents my PHP script from sending mail

2012-05-02 Thread Alan M. Evans
Hello all... I maintain an amateurish email list for my wife's website on my CentOS 6 server. Once-a-month, she sends mail to "mylista...@mydomain.com" and the /etc/aliases file redirects that to my script: mylistaddr: "| /usr/bin/php-cgi /var/www/html/mydomain/email-cgi.php" The script, in turn