diff options
| -rw-r--r-- | Mailman/app/moderator.py | 2 | ||||
| -rw-r--r-- | Mailman/docs/requests.txt | 24 |
2 files changed, 23 insertions, 3 deletions
diff --git a/Mailman/app/moderator.py b/Mailman/app/moderator.py index 48a4d4251..aa1b75b09 100644 --- a/Mailman/app/moderator.py +++ b/Mailman/app/moderator.py @@ -147,7 +147,7 @@ def handle_message(mlist, id, action, i18n.set_language(language) try: fmsg = Message.UserNotification( - addr, mlist.bounces_address, + addresses, mlist.bounces_address, _('Forward of moderated message'), lang=language) finally: diff --git a/Mailman/docs/requests.txt b/Mailman/docs/requests.txt index f96a12608..f66a87ddd 100644 --- a/Mailman/docs/requests.txt +++ b/Mailman/docs/requests.txt @@ -393,9 +393,29 @@ moderators. >>> flush() >>> qmsg, qdata = dequeue() >>> print qmsg.as_string() - XXX + Subject: Forward of moderated message + From: alist-bounces@example.com + To: zperson@example.com + MIME-Version: 1.0 + Content-Type: message/rfc822 + Message-ID: ... + Date: ... + Precedence: bulk + <BLANKLINE> + From: aperson@example.org + To: alist@example.com + Subject: Something important + Message-ID: <12345> + X-List-ID-Hash: 4CF7EAU3SIXBPXBB5S6PEUMO62MWGQN6 + X-List-Sequence-Number: ... + <BLANKLINE> + Here's something important about our mailing list. + <BLANKLINE> >>> sorted(qdata.items()) - XXX + [('_parsemsg', False), ('listname', 'alist@example.com'), + ('nodecorate', True), ('received_time', ...), + ('recips', ['zperson@example.com']), + ('reduced_list_headers', True), ('version', 3)] Holding subscription requests |
