File manager - Edit - /usr/lib/python3/dist-packages/twisted/mail/__pycache__/relaymanager.cpython-310.pyc
Back
o �bd� � @ sp d Z ddlZddlZddlZddlZddlmZ ddlm Z ddl mZ ddlm Z mZ ddlmZ ddlmZ dd lmZmZmZ dd lmZ ddlmZ G dd � d �ZG dd� deej�ZG dd� deej�ZG dd� dej �Z!G dd� de!�Z"G dd� d�Z#G dd� d�Z$G dd� d�Z%G dd� de%�Z&dd� Z'd d!� Z(G d"d#� d#e)�Z*G d$d%� d%e)�Z+G d&d'� d'�Z,dS )(aI Infrastructure for relaying mail through a smart host. Traditional peer-to-peer email has been increasingly replaced by smart host configurations. Instead of sending mail directly to the recipient, a sender sends mail to a smart host. The smart host finds the mail exchange server for the recipient and sends on the message. � N)�Type)�internet)�protocol)�Deferred�DeferredList)�DNSLookupError)�connectionDone)�bounce�relay�smtp)�log)�Failurec @ sL e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Ze fd e fd d�ZdS ) �ManagedRelayerMixinz� SMTP Relayer which notifies a manager Notify the manager about successful mail, failed mail and broken connections c C � || _ d S �N��manager)�selfr � r �;/usr/lib/python3/dist-packages/twisted/mail/relaymanager.py�__init__&