• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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