From 549a7dba72d29a31830a17bcd8b88cae3d9915f8 Mon Sep 17 00:00:00 2001 From: mailman Date: Thu, 19 Mar 1998 00:42:34 +0000 Subject: 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. --- Mailman/MailCommandHandler.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Mailman/MailCommandHandler.py') diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py index a4e435715..0f7156673 100644 --- a/Mailman/MailCommandHandler.py +++ b/Mailman/MailCommandHandler.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 ") 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: -- cgit v1.2.3-70-g09d2