./mail/py-aiosmtpd, Reimplementation of the Python stdlib smtpd.py based on asyncio

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1, Package name: py36-aiosmtpd-1.1, Maintainer: pkgsrc-users

This is a server for SMTP and related protocols, similar in utility to
the standard library's smtpd.py module, but rewritten to be based
on asyncio for Python 3.


Required to run:
[devel/py-setuptools] [lang/python36] [devel/py-atpublic]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 0df0e6a17ec9b29ed2c27955b4e3023f50fe4ef6
RMD160: cda2cf6d970600c6dbace8fe0a6321c756b9dbc9
Filesize: 49.533 KB

Version history: (Expand)


CVS history: (Expand)


   2017-09-29 14:40:55 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-aiosmtpd: update to 1.1

1.1:
Drop support for Python 3.4.
As per RFC 5321, §4.1.4, multiple HELO / EHLO commands in the same session are \ 
semantically equivalent to RSET.
As per RFC 5321, $4.1.1.9, NOOP takes an optional argument, which is ignored. \ 
API BREAK If you have a handler that implements handle_NOOP(), it previously \ 
took zero arguments but now requires a single argument.
The command line options --version / -v has been added to print the package’s \ 
current version number.
General improvements in the Controller class.
When aiosmtpd handles a STARTTLS it must arrange for the original transport to \ 
be closed when the wrapped transport is closed. This fixes a hidden exception \ 
which occurs when an EOF is received on the original tranport after the \ 
connection is lost.
Widen the catch of ConnectionResetError and CancelledError to also catch such \ 
errors from handler methods.
Added a manpage for the aiosmtpd command line script.
Added much better support for the HELP. There’s a new decorator called \ 
@syntax() which you can use in derived classes to decorate smtp_*() methods. \ 
These then show up in HELP responses. This also fixes HELP responses for the \ 
LMTP subclass.
The Controller class now takes an optional keyword argument ssl_context which is \ 
passed directly to the asyncio create_server() call.
   2017-04-26 10:44:46 by Filip Hajny | Files touched by this commit (1)
Log message:
Not for Python 2.7
   2017-04-25 19:16:57 by Filip Hajny | Files touched by this commit (5)
Log message:
Import aiosmtpd 1.0a5 as mail/py-aiosmtpd.

This is a server for SMTP and related protocols, similar in utility to
the standard library's smtpd.py module, but rewritten to be based
on asyncio for Python 3.