| Server IP : 188.151.22.197 / Your IP : 216.73.217.74 Web Server : Apache/2.4.62 (Rocky Linux) OpenSSL/3.5.5 System : Linux wsten.se 5.14.0-687.30.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 13:09:21 UTC 2026 x86_64 User : apache ( 48) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/setroubleshoot/__pycache__/ |
Upload File : |
a
Q�i< � @ s� d dl mZ dgZd dlZd dlZd dlmZ d dlmZ d dl m
Z
d dlmZ d dl
T e�d �Zd
d� Zdd� Zed
kr�dZd dlZd dlZej�� Ze�ed� eejd e�� d g� dS )� )�absolute_import�email_alertN)�MIMEText)�
MIMEMultipart)�
formatdate)�
get_config)�*z ^\s*([^@ \t]+)(@([^@ \t]+))?\s*$c C s2 t �| �}d }d }|r*|�d�}|�d�}||fS )N� � )�
email_addr_re�search�group)�addr�match�user�domain� r �>/usr/lib/python3.9/site-packages/setroubleshoot/email_alert.py�parse_email_addr$ s
r c
C s� t dd�}t ddt�}t dd�}t|�\}}|d u r8d}|d u rFt� }d||f }td||d�|�f � | �� | �| �� �}d t dd
�|f }| � � | �
� } td�}
||
d<