diff options
| author | Barry Warsaw | 2007-09-09 19:13:36 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2007-09-09 19:13:36 -0400 |
| commit | 99e02bbec74359407836694a70b1332970076c52 (patch) | |
| tree | e14dfc39699e46fe781ada89528c34ff02573ec8 | |
| parent | f1df4e6e79e7ba49ec0638fa4dd867b4043254f3 (diff) | |
| download | mailman-99e02bbec74359407836694a70b1332970076c52.tar.gz mailman-99e02bbec74359407836694a70b1332970076c52.tar.zst mailman-99e02bbec74359407836694a70b1332970076c52.zip | |
Support forwarding of held posts.
| -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 |
