/snap/core24/1643/usr/lib/python3.12/test/support/__pycache__
Edit: /snap/core24/1643/usr/lib/python3.12/test/support/__pycache__/smtpd.cpython-312.pyc (39162B)
Цix ( d Z ddlZddlZddlZddlZddlZddlZddlZddlm Z m
Z
ddlmZ ddl
mZmZ g dZej" d ZdZ G d d Z e ad
ZdZdZd#dZ G d de
j4 Z G d de j8 Z G d de Z G d de Z G d d Z d Z!e"dk( r e! Z#e#jH Z$de$v r3e$jK d Z& e'e$de& e( e) d
g Z*e$e&dz d Z$nddl+Z* e,e*e$ Z- e-e#j\ e#j^ fe#j` e#jb fe#jd e#jf Z4e#jj r- ddl6Z6 e6jv d d! Z< ejj e< e j| yy# e7$ r) e8dejr ejt d Y iw xY w# e=$ r) e8d"ejr ejt d Y rw xY w# e?$ r Y yw xY w)$a An RFC 5321 smtp proxy with optional RFC 1870 and RFC 6531 extensions.
Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]]
Options:
--nosetuid
-n
This program generally tries to setuid `nobody', unless this flag is
set. The setuid call will fail if this program is not run as root (in
which case, use this flag).
--version
-V
Print the version number and exit.
--class classname
-c classname
Use `classname' as the concrete SMTP proxy class. Uses `PureProxy' by
default.
--size limit
-s limit
Restrict the total size of the incoming message to "limit" number of
bytes via the RFC 1870 SIZE extension. Defaults to 33554432 bytes.
--smtputf8
-u
Enable the SMTPUTF8 extension and behave as an RFC 6531 smtp proxy.
--debug
-d
Turn on debugging prints.
--help
-h
Print this message and exit.
Version: %(__version__)s
If localhost is not given then `localhost' is used, and if localport is not
given then 8025 is used. If remotehost is not given then `localhost' is used,
and if remoteport is not given, then 25 is used.
N)asyncoreasynchat)warn)
get_addr_specget_angle_addr)SMTPChannel
SMTPServerDebuggingServer PureProxyzPython SMTP proxy version 0.3c e Zd Zd Zd Zy)Devnullc y N selfmsgs )/usr/lib/python3.12/test/support/smtpd.pywritez
Devnull.write] c y r r r s r flushz
Devnull.flush^ r r N)__name__
__module____qualname__r r r r r r
r
\ s r r
z, i c t t t z t j |rt |t j t j
| y )Nfile)print__doc__globalssysstderrexit)coder s r usager* g s3 'GI
CJJ/
c
#HHTNr c e Zd ZdZdZdZ ej efd Ze d Z
edddfdZd Z
d
Ze d Zej d Ze d
Zej d Ze d Zej d Ze d Zej d Ze d Zej d Ze d Zej d Ze d Zej d Ze d Zej d Ze d Zej d Ze d Zej d Ze d Zej d Zd! Zd" Zd# Zd$ Zd% Zd&