Since `smtpd.MailmanProxy` is already broken, it is not formally deprecated in 3.9. It will be removed in 3.10.
https://bugs.python.org/issue35800
.. class:: MailmanProxy(localaddr, remoteaddr)
+ .. deprecated-removed:: 3.9 3.11
+
+ :class:`MailmanProxy` is deprecated, it depends on a ``Mailman``
+ module which no longer exists and therefore is already broken.
+
+
Create a new pure proxy server. Arguments are as per :class:`SMTPServer`.
Everything will be relayed to *remoteaddr*, unless local mailman configurations
knows about an address, in which case it will be handled via mailman. Note that
class MailmanProxy(PureProxy):
def __init__(self, *args, **kwargs):
+ warn('MailmanProxy is deprecated and will be removed '
+ 'in future', DeprecationWarning, 2)
if 'enable_SMTPUTF8' in kwargs and kwargs['enable_SMTPUTF8']:
raise ValueError("MailmanProxy does not support SMTPUTF8.")
super(PureProxy, self).__init__(*args, **kwargs)
Jeffery Collins
Robert Collins
Paul Colomiets
+Samuel Colvin
Christophe Combelles
Geremy Condra
Denver Coneybeare
--- /dev/null
+Deprecate ``smtpd.MailmanProxy`` ready for future removal.