1 Mar
2021
1 Mar
'21
6:17 a.m.
Thank you Mark!
The file on my Debian system is /usr/lib/python3/dist-packages/mailman/commands/eml_membership.py
(You made a typo with a dash instead of an underline, in case anybody else wonders.)
I used dpkg-divert to move the file away and changed class Join as follows:
@public @implementer(IEmailCommand) class Join: """The email 'join' command."""
name = 'join'
# XXX 2012-02-29 BAW: DeliveryMode.summary is not yet supported.
argument_description = '[digest=<no|mime|plain>]'
description = _("""\
Subscribe by email is disabled in this instance of mailman. """) short_description = _('Join this mailing list. (disabled)')
def process(self, mlist, msg, msgdata, arguments, results):
"""See `IEmailCommand`."""
print('Subscribe by email is disabled.')
return ContinueProcessing.no