------------------------------------------------------------
revno: 1146
committer: Mark Sapiro <[email protected]>
branch nick: 2.2
timestamp: Mon 2011-02-07 12:11:58 -0800
message:
  - Held message user notifications now come From: list-owner instead of
    list-bounces.  Bug #714424.
modified:
  Mailman/Handlers/Hold.py
  NEWS


--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.2/+edit-subscription
=== modified file 'Mailman/Handlers/Hold.py'
--- Mailman/Handlers/Hold.py	2008-06-23 17:49:39 +0000
+++ Mailman/Handlers/Hold.py	2011-02-07 20:11:58 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2011 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -237,9 +237,6 @@
     # languages (the user's preferred and the list's preferred for the admin),
     # we need to play some i18n games here.  Since the current language
     # context ought to be set up for the user, let's craft his message first.
-    #
-    # This message should appear to come from <list>-admin so as to handle any
-    # bounce processing that might be needed.
     cookie = mlist.pend_new(Pending.HELD_MESSAGE, id)
     if not fromusenet and ackp(msg) and mlist.respond_to_post_requests and \
            mlist.autorespondToSender(sender, mlist.getMemberLanguage(sender)):
@@ -249,7 +246,7 @@
         lang = msgdata.get('lang', mlist.getMemberLanguage(sender))
         subject = _('Your message to %(listname)s awaits moderator approval')
         text = Utils.maketext('postheld.txt', d, lang=lang, mlist=mlist)
-        nmsg = Message.UserNotification(sender, adminaddr, subject, text, lang)
+        nmsg = Message.UserNotification(sender, owneraddr, subject, text, lang)
         nmsg.send(mlist)
     # Now the message for the list owners.  Be sure to include the list
     # moderators in this message.  This one should appear to come from

=== modified file 'NEWS'
--- NEWS	2011-02-07 20:01:02 +0000
+++ NEWS	2011-02-07 20:11:58 +0000
@@ -104,6 +104,9 @@
 
   Bug Fixes and other patches
 
+    - Held message user notifications now come From: list-owner instead of
+      list-bounces.  Bug #714424.
+
     - Issue an HTTP 404 status for private archive file not found.
 
     - @listname entries in *_these_nonmembers are no longer case sensitive.

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to