HEX
Server: Apache
System: Linux hp3-stn-1011028.hostingp3.local 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: csh958633 (951153)
PHP: 8.3.30
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: //usr/share/setroubleshoot/plugins/httpd_can_sendmail.pyc
�
c�L]c@sjddlZejdde�ZejZddlTddlmZddlZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsbeZed�Zed�Zed�ZdZed�Zed�ZdZ	d�Z
d�ZRS(	sB
    SELinux is preventing the http daemon from sending mail.
    s�
    SELinux has denied the http daemon from sending mail. An
    httpd script is trying to connect to a mail port or execute the
    sendmail command. If you did not setup httpd to sendmail, this could
    signal an intrusion attempt.
    st
    If you want httpd to send mail you need to turn on the
    $BOOLEAN boolean: "setsebool -P
    $BOOLEAN=1"
    ssetsebool -P $BOOLEAN=1s'If you want to allow httpd to send mails$you must setup SELinux to allow thiss!setsebool -P httpd_can_sendmail=1cCstj|t�d|_dS(Ntgreen(Rt__init__t__name__tlevel(tself((s7/usr/share/setroubleshoot/plugins/httpd_can_sendmail.pyR3scCs;|jddg�r7tjd|j�r7|j�SndS(Nthttpd_tthttpd_sys_script_ttsendmail(tmatches_source_typestretsearchtsourcetreporttNone(Rtavc((s7/usr/share/setroubleshoot/plugins/httpd_can_sendmail.pytanalyze7s
(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontfix_cmdtif_textt	then_texttdo_textRR(((s7/usr/share/setroubleshoot/plugins/httpd_can_sendmail.pyRs				(	tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR
R(((s7/usr/share/setroubleshoot/plugins/httpd_can_sendmail.pyt<module>s