| Server IP : 68.178.164.50 / Your IP : 216.73.216.142 Web Server : Apache System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64 User : rathinambschool ( 1053) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/setroubleshoot/plugins/__pycache__/ |
Upload File : |
a
�Z`� � @ sL d dl Z e jddd�Zej Zd dlT d dlmZ d dlZG dd� de�ZdS ) � Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc @ sL e Zd Zed�Zed�Zed�ZdZed�Zed�Z dZ
dd � Zd
d� ZdS )
�pluginzB
SELinux is preventing the http daemon from sending mail.
z�
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.
zt
If you want httpd to send mail you need to turn on the
$BOOLEAN boolean: "setsebool -P
$BOOLEAN=1"
zsetsebool -P $BOOLEAN=1z'If you want to allow httpd to send mailz$you must setup SELinux to allow thisz!setsebool -P httpd_can_sendmail=1c C s t �| t� d| _d S )NZgreen)r �__init__�__name__�level)�self� r �7/usr/share/setroubleshoot/plugins/httpd_can_sendmail.pyr 3 s zplugin.__init__c C s( |� ddg�r$t�d|j�r$| �� S d S )NZhttpd_tZhttpd_sys_script_tZsendmail)Zmatches_source_types�re�search�sourceZreport)r Zavcr r r
�analyze7 s zplugin.analyzeN)
r �
__module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ then_textZdo_textr r r r r r
r s r )�gettextZtranslationr Zsetroubleshoot.utilZsetroubleshoot.Pluginr r r r r r r
�<module> s