Quote:
Originally Posted by poorboyiii
The problem arises accessing sendmail through the httpd.
|
(which are of domain httpd_t)
Quote:
Originally Posted by poorboyiii
When the scripts are executed SELinux prevents access to the files in /etc/mail
|
which are in etc_mail_t like it said.
Sounds like you need a local policy addition reading something like:
Code:
#============= httpd_t ==============
allow httpd_t etc_mail_t:dir { read search getattr };
allow httpd_t etc_mail_t:file { read getattr };
but this should come from you running and reviewing output of "audit2allow".