• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

SELinux Errors with Sendmail

B

brandonp

Guest
I am getting error messages in /var/log/messages about SELinux and Sendmail. I'd like to fix the problem without turning off SELinux. What do you do to allow

Dec 11 12:42:39 username setroubleshoot: SELinux is preventing sendmail (system_mail_t) "append" to 2F7677776647326F74657863746973746963732F6C6FF725F6C6656C6574656429 (httpd_sys_content_t). For complete SELinux messages. run sealert -l 44-07786b5f

Running the sealert command shows that it isn't allowing error logs to be written, with examples like this

host=domain.com type=AVC msg=audit(120247.61:490): avc: denied { append } for pid=2082 comm="sendmail" path="/var/www/vhosts/anotherdomain.org/statistics/logs/access_log" dev=dm-0 ino=184680 scontext=root:system_r:system_mail_t:s0 tcontext=root: object_r:httpd_sys_content_t:s0 tclass=file

What can I do to fix this (without turning off SELinux) ?

Brandon Petersen
 
Did you find how to sort this problem

I am getting error messages in /var/log/messages about SELinux and Sendmail. I'd like to fix the problem without turning off SELinux. What do you do to allow

Dec 11 12:42:39 username setroubleshoot: SELinux is preventing sendmail (system_mail_t) "append" to 2F7677776647326F74657863746973746963732F6C6FF725F6C6656C6574656429 (httpd_sys_content_t). For complete SELinux messages. run sealert -l 44-07786b5f

Running the sealert command shows that it isn't allowing error logs to be written, with examples like this

host=domain.com type=AVC msg=audit(120247.61:490): avc: denied { append } for pid=2082 comm="sendmail" path="/var/www/vhosts/anotherdomain.org/statistics/logs/access_log" dev=dm-0 ino=184680 scontext=root:system_r:system_mail_t:s0 tcontext=root: object_r:httpd_sys_content_t:s0 tclass=file

What can I do to fix this (without turning off SELinux) ?

Brandon Petersen

Hi Brandon:
Did you figure out how to solve this problem.. Becoz.. we also have the same problem here..
 
Back
Top