diff options
| author | mailman | 1998-03-19 00:42:34 +0000 |
|---|---|---|
| committer | mailman | 1998-03-19 00:42:34 +0000 |
| commit | 549a7dba72d29a31830a17bcd8b88cae3d9915f8 (patch) | |
| tree | c72272cb11a6db25fbf5576739c73302424011a8 /modules/mm_mailcmd.py | |
| parent | a6a72472eb791b2645166c31290fdd3ce5f4bcc3 (diff) | |
| download | mailman-549a7dba72d29a31830a17bcd8b88cae3d9915f8.tar.gz mailman-549a7dba72d29a31830a17bcd8b88cae3d9915f8.tar.zst mailman-549a7dba72d29a31830a17bcd8b88cae3d9915f8.zip | |
We're having a problem where mail command messages with undeliverable
"Sender:" lines are being bounced to the -request addr, and then being
treated as a bad request. This needs to be examined and solved, but
in the meanwhile i'm adding some info (the subject line) to the
"subject line ignored" line, so we get some more cues to go on when
things go awry.
Diffstat (limited to 'modules/mm_mailcmd.py')
| -rw-r--r-- | modules/mm_mailcmd.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/mm_mailcmd.py b/modules/mm_mailcmd.py index a4e435715..0f7156673 100644 --- a/modules/mm_mailcmd.py +++ b/modules/mm_mailcmd.py @@ -68,7 +68,7 @@ class MailCommandHandler: else: lines = string.split(mail.body, '\n') if subject: - self.AddError("Subject line ignored.") + self.AddError("Subject line ignored: %s" % subject) for line in lines: line = string.strip(line) if not line: @@ -102,12 +102,14 @@ class MailCommandHandler: self.AddError("Usage: password <oldpw> <newpw>") return try: - self.ChangeUserPassword(mail.GetSender(), args[0], args[1], args[1]) + self.ChangeUserPassword(mail.GetSender(), + args[0], args[1], args[1]) self.AddToResponse('Succeded.') except mm_err.MMListNotReady: self.AddError("List is not functional.") except mm_err.MMNotAMemberError: - self.AddError("%s isn't subscribed to this list." % mail.GetSender()) + self.AddError("%s isn't subscribed to this list." % + mail.GetSender()) except mm_err.MMBadPasswordError: self.AddError("You gave the wrong password.") except: |
